This shows you how to do email query filters:
And based on this post:
…I was able to determine that the way to query based on sender is:
(from/emailAddress/address) eq 'some.sender@gmail.com'
So if you have a list of email addresses you need to loop through them and build the query…
- For Each in yourStringArray
** Assign queryString =queryString + if(queryString="",""," or ") + "(from/emailAddress/address) eq'" + currentItem + "'"
So now you’ll have queryString that looks like…
(from/emailAddress/address) eq 'someone@somewhere.com' or (from/emailAddress/address) eq 'another@somewhere.com'
etc.
Put queryString variable into the query property of the get mail activity.