O365 Get Mail, Odata filter

Hey @jerry.lundgren1
You should remove the $filter= part from your filter string and only include the actual logical condition

toRecipients/any(t:t/emailAddress/address eq ‘xxx.yyy@zzz.com’)
Make sure:

You use single quotes ’ (not curly quotes like ‘ or ’).

You don’t wrap the entire thing in another $filter=, as UiPath handles that.

So the full final filter applied by UiPath would become something like:

$filter=(receivedDateTime ge 1900-01-01T00:00:00Z) and (toRecipients/any(t:t/emailAddress/address eq ‘xxx.yyy@zzz.com’))
Which is now a valid OData filter.

cheers