Loop through the mail


I log into my gmail and search for a particular mail.
I get a list of few unread mails.
How do I iterate to complete all the mails?

Any idea on how to go about it?

Thanks in Advance

hi @ray_sha,

For Reading Emails , we can use the PreDefined mail activities available in Uipath.

Link : https://docs.uipath.com/activities/docs/get-pop-3-mail-messages

  • The output of the mailMessage activity is List of MailMessages as shown below .

– we then Take a foreach loop and iterate the mails