Skip to main content

Notifications

Community site session details

Community site session details

Session Id : SP0+LcQrcYjYtF9JNMokaL
Power Automate - General Discussion
Answered

Get Email Message ID and Delete from Sent Box

Like (1) ShareShare
ReportReport
Posted on 8 May 2019 17:20:58 by 347

Hi All. 

 

Doing a quick test to see if I can delete a sent email created by Flow from my mailbox. 

 

flow_email_id.png

 

The email is sent successfully but how do I obtain the sent email's message ID and delete it from my mailbox? (That way it doesn't clog up my sent messages).

 

Please let me know if it's possible. Thanks!

  • Verified answer
    Brad_Groux Profile Picture
    4,556 on 08 May 2019 at 17:40:46
    Re: Get Email Message ID and Delete from Sent Box

    It would look something like this:DeleteSentEmailFlow.PNG

    In the Get emails you could use the Search Query to grab the email by subject, or keywords. You should then be able to grab the ID for the Message Id box in the Delete Email step.

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

#2
ankit_singhal Profile Picture

ankit_singhal 7 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 4 Super User 2025 Season 1

Overall leaderboard
Loading started