Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Send auto reply from user mailbox and then delete the email

HI PA Community,

I have had a look through the forums and tried myself to create a flow that will send an automatic reply when an email is received into a user mailbox, then once sent, delete the email. This is to apply to someone on maternity leave so they do not return to hundreds of emails.  Could some one possibly point me in the right direction? 



Community Support
Community Support

Hi @PremierD,


You could following these steps to delete the email after auto reply:

Annotation 2020-07-17 152134.jpg


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

Thanks for the reply and guidance, I did try the steps using the following:



But I receive the test email , do not get a response and the email does not delete. Any ideas as to what I may be doing wrong?


Many thanks

Community Champion
Community Champion

Hi @PremierD,  why don't you use standard Automatic Replies (Out Of Office) feature of Outlook OWA? 

Contact me if you are interested in custom Power Automate development.

I can use powershell to set the Out of Office or automatic reply , but the Auto archive is a bit more difficult unless I give myself access to the users mailbox and set that way. We also already have a retention policy in place I do not want to clash with. It is so when the user returns they have a clear mailbox. I thought a flow would be an easy answer. 

I'd recommend you to set OOF and turn on/off the other rule to delete ingoing messages via PowerShell.

Contact me if you are interested in custom Power Automate development.

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (2,045)