Filter outlook mails by mailID

Hi all.
I have a scenario where i have to filter those mails of which mail unique ID is equal to the value which I’ve stored in a variable.
i’m using this filter in get outlook activity - “[MessageId]=”+"’"+ID.ToString+"’"
but getting an error saying MessageId property is not found.
Please suggest which mail property should be used.
Thanks in advance.

I hope its Message-ID or may be Message-Id

Cheers @Shree_Vybhavi

I’m still getting the same error.:frowning:
“Message-ID property is unknown”

hello @Shree_Vybhavi

use From and try , i am not sure its just an idea

Regards
Ajay

Hi @Ajju , i want to filter using uniqueID of mail message , i don’t want to filter with from address.

Hi @Shree_Vybhavi,
Use ‘Filter’ box option in ‘Get Outlook Mail Messages’ activity and use this below condition -
"[From]=‘MailSenderID’’’

Thanks & Regards,
Apurba

I tried both…
it didn’t work.

I have a similar need and can’t get the filtering working. So as I workaround, I found this custom activity that allows you to retrieve an email with its UID.
https://connect.uipath.com/marketplace/components/outlook-mail-activities-4dbc88