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

Announcements

News and Announcements icon
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,557 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,329 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard