Query filter for get mail(MicrosoftOffice365) activity

I want to get mails from the outlook in which the mail received date should be later than date timestamp in queue item. For example: Queue item is created at 12.00AM. Whatever mails will receive in mail box after 12.00AM i want to fetch those only. Can anyone help me how to write a query filter for this scenario.

Hi @rdrameshraj53d

Please give this filter a try:

"[ReceivedTime] > '" + YourQueueItemTimestamp.ToString("MM/dd/yyyy HH:mm:ss") + "'"

Replace YourQueueItemTimestamp with the actual variable or value representing the timestamp of the queue item.

Hope this helps,
Best Regards.

Hi,

Can you try as the following?

"ReceivedDateTime ge 2023-06-12T00:00:00"

OR

"ReceivedDateTime ge "+dateTimeVar.ToString("yyyy-MM-dd")+"T00:00:00"

The following document will also help you.

Regards,