Hi,
you can use the filter property.
See link How to filter messages in Get outlook mail messages - #4 by UiRobot