I am using o365 scope to get messages and it works ok. I would like to store the UID for the message so I can use it later in the process to filter this message in the inbox.
To get id I am using property: mail.MessageId and it returns me a value.
But I am not able to filter the messages in get mails activity based on this value. "id eq ‘UID’ - does not work, MessageId eq ‘UID’ neither.
I have gathered manually the internetMessageId and tried to filter based on this value and it works perfect. However I am not able to get internetMessageId property from the message (mail) as it looks like it is not supported. The Header of the mail returns as empty collection. It looks like this value is not returned anywhere while get messages in O365 scope.
Does anyone knows the way how to gather internetMessageId in Get Mail activity or maybe someone knows how to build filter based on MessageId?
This is probably a new development, but at this point you can get InternetMessageId from the Office365Mail object. You can then filter by InternetMessageId in your Get Mail activity to get the message.