
Announcements
Hi,
I'm currently trying to build a flow that checks every week if there are older emails than 93 days in the deleted folder in Outlook and deletes them.
there are two issues at hand:
1. there is a limit to how many emails I can get from the folder structure via "get emails", 25 to be specific, which is hilariously low. but getting it greater seems impossible. before I can check if I can go around that with the sorting direction of the folder there is the other issue at hand.
2. the get emails function gives me back an empty array. this function only gets me back emails that are marked unread, and I cant find a way to switch that off, so it can count the others as well. and marking everyting unread in the deleted folder is just a hazard for errors. (Solved: Delete deleted Items from Outlook 365 - Power Platform Community (microsoft.com))
as linked, issue two has been solved and i clicked solved to soon, and now i have to create a new post regarding issue 1.
I tried to fix this one, as i now get items back from outlook, but i cant find a way arround its limit of 25. Sorting the different direction in Outlook doenst get safed, and the to delete emails are around 200 (depending on the season (traffic etc.)) emails later...
Thanks
tilman
Thanks