How can I filter with OData on MessageID?

Hello everyone,

Is there a way I can filter on MessageID with OData in the Get Mail Office 365 Classic activity? I get the MessageID earlier in the process.

I have tried several options but getting errors so far.

Thank you in advance.

@Jelmer

You can directly use this field email id

cheers

Wow, how did I miss that. Thank you!

My flow works as follows:

  1. I get an e-mail from map A.
  2. I get the ID with .MessageID
  3. I process the mail and make a queue item. I move the mail to map B.
  4. In the framework it fails and I want to move it to map C. I try to use MessageID within GetMail activity, but I get the following error: Process: Code: ErrorItemNotFound
    Message: The specified object was not found in the store., The process failed to get the correct properties.
    ClientRequestId: bd4c6700-4ab4-4263-99bb-2d3fa6fbeeee.

I see that the problem is in that it’s no longer in the same map.

Is there another way to get the specific mail?