Email automation imap unread

hi @HBbang

Please find the similar case i used for Outlook this will help for IMAP also,Main.xaml (7.2 KB)

Try below steps:Filter based on Subject,

  1. Get IMAP Mail Message activity will give output as list of mail messages and say ‘mailMessages’.
  2. Then use below expression to apply filter based on subject of the mails.

mailMessages = mailMessages.AsEnumerable().Where(Function(x) x.Subject.ToString.Equals(“requiredSubject”)).ToList

(or)

Please check the below post this might help you.

If it works,Please mark it as solution.

Thanks
Latika

3 Likes