I am dealing with shared mailboxes where occasionally the combination of sender, subject, received-at and even attachment names and mailbody are not unique. Differences only in nuances of the attachment.
And I want to process them individually while moving through several folders.
Turned out that the MS Graph API accepts a header
Prefer: IdType="ImmutableId"
Source: Obtain immutable identifiers for Outlook resources - Microsoft Graph | Microsoft Learn
Within the scope of a single mailbox this ID is stable, even when the mail is moved.
Let me now in a reply if that would be helpful for you or your colleagues.
How to use
In your MailMessage library convenient to use with “Microsoft 365 HTTP Request” and a MSGraph endpoint:
On a Solution level this is one of the many IDs to design the mailbox automation
Proof of Concept
Multiple Moves with the same ID (trust me) by again setting the header Prefer: IdType="ImmutableId"
Did you know about this feature?
Wouldn’t it be great if the UiPath activities were working with that ID by default?
@loginerror


