I have a flow that uploads a file to Sharepoint when it arrives to my inbox. After uploading the file, it deletes the email. While it does that job - is it possible for the email to be permanently deleted instead of just sitting on my Deleted Items folder until it gets permanently deleted after x days?
Before deletion retrieve the "Internet Message ID" of a message. After deletion search this message in the Deleted Items folder by "Internet Message ID" and then delete it permanently.
Hi @olimilo ,
I did a test for your reference.
In my scenario:
Note that the two dynamic content 'Message Id' come from different sources.
The first one comes from the trigger and the second one comes from the 'Move email' control.
Best Regards,
Sunshine Gu
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional