I have created a flow which is getting emails from shared mailbox and then extract those and move to One Drive. It seems that the serach query is not able to find some emails, despite I am able to see them in the mailbox.
The language expression I am using is "received<2015-31-05" where I want to extract emails which are older than 31st May 2015. The command returns empty value. If I change the year to more recent, like: "received<2021-02-28", then it starts to get the emails. Somewhere in the middle of 2020 the query stops identifying emails.
Any clue why this is happening and how to overcome it?
Hello @dvoinikat ,
I'm not sure about the limit, maybe there's a limit how many emails it can return at once, but for the original 2015 filter I'd try to switch the month and day number:
received<2015-31-05 should be received<2015-05-31
I have tried this one (and many others) and no success. It seems though, the issue is not with the search query, but with the emails themselves. For example I managed to collect an email from 2014 but two other were missed from the same period. The two were replies and the one captured was not. Started to wonder whether those old emails have been moved from another mailbox and this is the reason why I cannot get them.
How can I compare emails in order to look for a reson why some are collected and some are "invisible" to "Get emails (V3)" command?
Hello @dvoinikat ,
I'd check the Outlook online for the messages, the 'Get emails' action takes a look into the online mailbox so everything that's there should be found by the action.
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!