I’ve have attempted to count the number of emails contained it that folder but it does not seem to include responses to meeting invites. I have tested this by having only meeting invites in said folder for which the result was 0, and separately by adding a classic email to the folder, for which the result was 1. So it counts normal emails but not responses to invites?
I have tested with the “onlyunreadmails” to no avail.
I have the same question. And the use case described is so common. I feel UiPath should provide a way to process unread Outlook invites like regular emails.
Prerequisite:
-Make sure you have at least one unread meeting invite in your Outlook mailbox.
-For this example, my mailbox contains 1 unread meeting invite and 2 unread emails.
Get Outlook Mail Messages
Options: OnlyUnreadMessages → checked
Output: var myMail (type: System.Net.Mail.MailMessage)
Write Line
myMail.Count.ToString
Expected value: 3
Actual value: 2
Conclusion: Unread meeting invites are not counted.