Filter mails based on email address from gmail



Hi All,

I have one requirement to read mails based on specific email address and a unique data in the mail content from Gmail account under all mails section.
So I used Get IMAP mail message activity to read the emails but I am not able to filter the emails and then read the emails from Gmail as all mails section will contain huge mails and unable to retrieve the required mail even after reading 100 mails. Can anyone help me on this as I have stuck here and unable to proceed further.

help will be appreciated and thanks in advance!!


You could use condition on the mail item inside for each loop as shown below.

More on here


I am doing something similar and see the following error but it worked with the expression item.From.DisplayName.Contains("")


Can i use the same for TO ADDRESS(empty To Address) fitering?