Traverse e-mails in Outlook



Dear fellow devs.

A seemingly simple task which is to traverse e-mails in different outlook folders and print each of them out, has proven quite difficult.

Problem: When UIPath activity “Get Outlook Messages” is used, the mail objects are of the type “” - and embedded pictures in these mails are saved as attachments instead of as embedded in the body.
This issue resolves in a print that is not like the one from a manual printout from Outlook.

So my solution would be to do as the human, and open each mail from the UI of Outlook and print each of them. But how to traverse 0-to-Many e-mails in a specific folder? I don’t know how to make the list of mails to be used in that for each.

Any help is much appreciated!
Best regards Mikkel