cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
hnguy71
Level 8

Get Email Message ID and Delete from Sent Box

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

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!

 

View solution in original post

1 REPLY 1
Super User
Super User

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!

 

View solution in original post

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,830)