cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User II
Super User II

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 II
Super User II

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (4,007)