cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

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
Highlighted
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
Highlighted
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

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Top Solution Authors
Top Kudoed Authors
Users online (6,814)