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 / I need to be able to a...
Power Automate
Unanswered

I need to be able to automatically save emails to a folder

(0) ShareShare
ReportReport
Posted on by

I do not need to save an email attachment and I do not want to save an email as an eml file

I need to save an outlook email in a onedrive folder or desktop folder and then easily be able to open it as an email msg from that folder.  I know you can drag and drop and email into a folder.  I need this to happen automatically as soon as an email comes into our shared mailbox.

I do not have access to any kind of 3rd party converter so the Export email is not working for me.

 

 

Categories:
I have the same question (0)
  • AlanPs1 Profile Picture
    2,471 on at

    Hi @Anonymous , thank you for your post.

    Can I clarify your request please?

    Is it an HTML file you want saving from the body of the email or is it the actual email you want to save?

    I had created an HTML option saving to the file system, it requires the on premises data gateway setting up but once you have that, you can do the below:Capture-249.png

    Regards the format if it were to be the email you want to save to either the file system or I'd say preferably in the cloud at say SharePoint or OneDrive.

    This would be achieved with an .eml file, that is the message format when saved. 

    For a shared mailbox, you would just use the "When an email arrives in a shared mailbox" action.

    Here is a working example of saving the email to a cloud location.Capture-250.png

    If you have found my post helpful, please mark thumbs up.

    If this post has solved your problem, please click "Accept as Solution".

    Any other questions, just ask.

    Thanks, Alan

  • Community Power Platform Member Profile Picture
    on at

     

    Thank you!  That worked but when I got to open in the email, it just comes up blank with the  incorrect date on it.

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    Also  I do not need HTML sorry about that!

  • Verified answer
    AlanPs1 Profile Picture
    2,471 on at

    Hi @Anonymous 

    Make sure your body is:

    body('Export_email')

    In terms of the date, I am not sure why, or where you are generating it from but if you post the data from teh successful run. Expand the connecter and take images of the output I can maybe see why. 

     

    If you have found my posts helpful, please mark thumbs up.

     

    If the above post has solved your problem, please click "Accept as Solution".

     

    Any other questions, just ask.

    Thanks, Alan

  • AlanPs1 Profile Picture
    2,471 on at

    Hi @Anonymous 

    I am just wondering how you have gotten on.

    Did you get the body content in your email etc?

     

    Thanks, Alan

  • Community Power Platform Member Profile Picture
    on at

    Yes! Thank you that worked!!

  • MichaelW1987 Profile Picture
    4 on at

    Hi All,
     Fantastic questions and answers and has helped me alot. The only issue I have is the .eml file is showing UTC time not local time ... is this fixable?

    MichaelW1987_0-1597634124098.png

     

  • justin_bognot Profile Picture
    7 on at

    Hi @AlanPs1 

     

    Just aiming for your advisement as I have been having troubles on replicating your suggestions, specifically the ones where emails are saved on cloud drives. I'm able to automate the generation of the file upon receipt of the email, however yields to empty files with no contents at all:

     

    justin_bognot_0-1622600462435.png

     

    And here's what I have on Power Automate:

     

    justin_bognot_1-1622600527424.png

     

    Are you able to please advise on this one please? Thanks in advance!

     

    Regards,

    Justin Bognot

  • Alexvalean Profile Picture
    2 on at

    Can u send me The html?

    valean1@yahoo.com 

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