How do I filter the "Get Mail" activity by message Ids

Hi team ,

I am getting message id of each email by -

mail.Headers(“Message-ID”)

Can you let me know how to insert the same in the get mail message activity to get only the emails filtered by ID

Regards,
Gokul

Hi @gokul1904

Check out the docs

Regards
Gokul

@Gokul001 I know how to filter with get outlook mail message activity but not
this o365 scope “Get Mail” activity

Can you let me know what should be written in the query ?

Hi gokul, did you find any solution to this?

Leaving this reply for anyone that might have this challenge in 2024. Try this:

“internetmessageid eq ‘“+your_variable+”’

Microsoft Graph API might be helpful with other possible filters https://developer.microsoft.com/en-us/graph/graph-explorer

2 Likes