Using Filters in Get Exchange mail activity

I have a email list aka “Exclusion list” which contains email address of the user of which if the inputs are received from these bots the bot should not download the attachment and there is a subject filter also which contains keyword, if those keyword are there in subject then only bot will download the attachment. I need to have these filter using UiPath get exchange mail activity only.

Thanks in advance

hi @sunain_chahar,

You can read the exclusion list into a collection (e.g., a List or Array) or datatable. You can use the Read Range or Read CSV activity to read the email addresses from an Excel or CSV file.

Use a filter for subject in the get exchange mail activity. Like “subject:welcome” and then use a for loop and inside the for loop to check if the sender is in your exclusion list based on that you download the attachment or not.

And if you face some issues with exchange activity then refer this

More reading:-