Skip to main content

Notifications

Community site session details

Community site session details

Session Id : c4MNk9V3+keygNWz+wW3ZE
Power Automate - General Discussion
Answered

Save email to Sharepoint document library (full email)

Like (3) ShareShare
ReportReport
Posted on 21 Jul 2016 03:58:01 by 66

Hi,

 

We'd like to save a copy of an email to a Sharepoint document library for future reference. These are our outbound marketing emails and don't have attachments. We'd like to capture the body of the email, preferably how it looks in email.

 

Any ideas?

 

Thanks

 

Damien

  • ZiegfriedK Profile Picture
    3 on 24 Jun 2024 at 07:29:20
    Re: Save email to Sharepoint document library (full email)

    Thanks, that was helpful.

  • theseannn Profile Picture
    4 on 09 May 2024 at 06:37:34
    Re: Save email to Sharepoint document library (full email)

    For those experiencing this issue finding this post - I have discovered *a solution* to the issue  It may not be your solution - but it was mine for the blank email error.


    Make sure in your Flow creation that you in your Create a File component, the File Content you have selected (eg:  Body) is the one from the relevant Export component eg:

    theseannn_0-1715236379357.png

     

     

    I noticed that when the "blank" emails are downloading, they're all varying sizes (8kb/15kb/etc) - so I figured they must be downloading some level of content and realised they're not actually blank - they're generating as Word Documents, so if you're using Create a File to make them .eml/.msg then that's why they're blank.

     

    So basically if you're using the Body output from the initial Trigger, then it will generate the email as a Word Document and that's where the confusion is setting in.

    Hope this helps someone out there - because I've spent an embarrassingly long amount of time trying to find the solution.  There's nothing worse than googling a problem to find someone discovered it 10 years ago, made an updated to say they found a solution, but never gave an answer.

  • Steve_luck22 Profile Picture
    2 on 27 Mar 2024 at 14:00:02
    Re: Save email to Sharepoint document library (full email)

    Has anyone else every faced problems with certain parts of the automation skipping? i have tested the flow from my own email address and it works fine, but when i receive an email from the person i want to automate it skips the final process? anyone else ever faced this issue? is there a solution for it?

  • FabvE Profile Picture
    79 on 09 Jan 2024 at 08:24:58
    Re: Save email to Sharepoint document library (full email)

    The Export mail-action leads to a timeout everytime I start the flow.

    Instead I tried to directly use 

    triggerOutputs()?['body']
    but this generates just an empty email....
  • Roaduser Profile Picture
    4 on 27 Nov 2023 at 02:58:27
    Re: Save email to Sharepoint document library (full email)

    Instead of create file.

    How do I use the export email, to then ad attachment? I want the email exported/saved into the list item as an attachment.

    Is this possible rather than a link to a file in the doc library, which  I can do with the example above.?

  • LauraCas72 Profile Picture
    18 on 17 Mar 2023 at 19:02:24
    Re: Save email to Sharepoint document library (full email)

    I tried to use this set up to save to One Drive, but I got an error on the Outputs

    LauraCas72_0-1679079703353.pngLauraCas72_1-1679079733191.png

     

  • skagawa Profile Picture
    11 on 23 Feb 2023 at 16:45:37
    Re: Save email to Sharepoint document library (full email)

    OK eventually I got this to work, though not sure what i changed or what i did. So my take away is this solution works and it was user error. 

  • rceighteen0eigh Profile Picture
    7 on 23 Feb 2023 at 14:14:11
    Re: Save email to Sharepoint document library (full email)

    Also using the same flow but I get the same blank email as skagawa. I have tried changing the extension from .msg to .eml to no avail. Any advice would be appreciated. 

  • skagawa Profile Picture
    11 on 26 Jan 2023 at 04:34:30
    Re: Save email to Sharepoint document library (full email)

    See screen shot, Screen Shot 2023-01-25 at 8.31.54 PM.png

  • skagawa Profile Picture
    11 on 26 Jan 2023 at 00:27:52
    Re: Save email to Sharepoint document library (full email)

    I used this same flow and got a blank message

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started