Hi,
I am going crazy trying to create a routine that retrieve email from outlook on a specific date range correctly.
When I try the query below on the Microsoft Graph environment works as expected.
https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messages?$filter=receivedDateTime ge 2024-02-11T22:00:00Z and receivedDateTime lt 2024-02-12T22:00:00Z
when I add a zap with the outlook api call and I add this in the first screenshot
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/8598aa7a-f427-42da-97f5-8680cac0aeb9.png)
despite passing correctly the filter
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/c67f8045-4d6f-44c0-8aab-0d2d534c0064.png)
it only retrieve email from today and not my specified range.
I also tried this format that does not give error but still does not work
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/72aef3f5-43fb-4e5b-a780-7940fa2edd95.png)
Am i doing something wrong? How is possible that the exact same query works in Microsoft Graph why in here it does not pass the range and just retrieve the today email?