web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Outlook delete notific...
Power Automate
Suggested Answer

Outlook delete notification message

(2) ShareShare
ReportReport
Posted on by 16
Hello all,
 
I tried to build a simple flow that sends a notification to my email acount A when in my email account B an email arrives in the inbox. The flow has the following steps:
 
Step 1. triggers this flow when an email arrives in the inbox of my account B. 
 
Step 2. sends an email/notification to the inbox of my account A to notify me that in account B an email arrived. This email/notification holds the body of the original email that triggered the flow.
 
Step 3. should delete the sent email/notification from the sent items folder from my account B
 
 
The steps 1 and 2 function as they should, but in step 3 the original email that arrived in the inbox of account B is deleted instead of the notification that is sent from account B to account A and that remains in the sent items folder. It looks like in step 3 Power Automate grabs the wrong Message ID to delete, but i cannot find any options to make step 3 use the right Message ID.
 
If any more info is needed let me know.
 
Thanks for help.
Categories:
I have the same question (0)
  • Suggested answer
    AnthonyAmador Profile Picture
    2,553 Moderator on at
    Hi, 
     
    The problem is that ‘Send an email V2’ doesn’t generate any message ID. What you can do is create another flow, use the same trigger for when a new email arrives, and select the ‘Sent items’ folder to delete it from there. You have to filter it, otherwise, it will delete all new sent emails.

    Hope this helps. 
    Anthony 

    If my reply answers your question, please like and mark it as verified. This helps me stay motivated to assist others and makes it easier for users with similar questions to find the answer. Thanks!
    Feel free to connect with me on LinkedIn!
     
  • Suggested answer
    WillPage Profile Picture
    2,307 Super User 2025 Season 2 on at
    Instead of using the in-built Send an email action, you can use the "Send an HTTP request" action to create a draft then send it in a two-step process. The action of creating the draft gives you the message ID which you can then use twice, once to send the draft and once to delete the sent item:

    Create Draft:
     
    Send draft


    Delete sent item
     
    It works:
  • Job1955 Profile Picture
    16 on at
    Thanks for the replies. As a unexperienced Power Automate user the option with 2 separate flows seems to be the easyest  way to get things working.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard