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 / delete messages after ...
Power Automate
Unanswered

delete messages after sending in Shared Mailbox

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a Flow where I send out a courtesy message every time an incoming mail arrives. I would like NOT to save this messages in the Shared Mailbox Sent Items folder, or I'd like to delete it after sending.

 

As the message ID is not a field available after sending the message from the Shared Mailbox, is there any other way this could be possible?

 

thank you

Marco

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @Marco_1974 ,

     

    Yes, as you said,  the message ID is not a field available after sending the message, I have made a test on my side, and I'm afraid that ther is no any way to delete the email after sending in Shared Mailbox.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Marco_1974 

     

    So to delete an email you would need the message ID (as you have mentioned) but the action send an email will be sending the email and an email id is generated only after the email is sent (basically send an email is an action that will be excuted but has not been executed yet and thus the issue with getting the email ID). But there should be a feature where the send an email action is executed and after a small delay the ID could be retrieved. 

     

    Currently this is not supported in flow and it might be included in later releases. Here is an idea that was created to include more information on the send an email action: https://powerusers.microsoft.com/t5/Flow-Ideas/Return-value-of-quot-Send-E-Mail-quot-action-to-include-the-e/idi-p/143027

     

    You can add some comments there and upvote the idea (or a create a new one if you have ant specifics or probably upvote similar ones on the ideas forum here: https://powerusers.microsoft.com/t5/Flow-Ideas )

     

    Hope this Helps!

     

    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!

  • VictorIvanidze Profile Picture
    13,073 on at

    BROKEN LINK!

    Have a look at this.

     

     

  • VictorIvanidze Profile Picture
    13,073 on at

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard