Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

save email as pdf

Like (5) ShareShare
ReportReport
Posted on 21 Apr 2018 10:03:27 by 10

Let us save an email as PDF document when using outlook.com or 365.

 

For example I would like to set up a flow that lets me archive all emails that come are put into a certain folder as PDFs to my OneDrive. From what I see this does not seem to be possible as of right now.

  • cb23 Profile Picture
    326 on 13 Nov 2023 at 15:54:05
    Re: same problem, no HTML, no images

    Currently having this issue too. Did you ever find a workaround?

  • Lily2 Profile Picture
    2 on 18 Jul 2023 at 06:33:21
    Re: save email as pdf

    It successfully converted the EML to PDF, but when I tried to open the converted email to PDF, it said something was wrong and it wouldn't open using Acrobat or Microsoft Edge.

  • teqs Profile Picture
    103 on 03 Apr 2023 at 13:31:27
    Re: save email as pdf

    @ayomalireid wrote:

    Ok, so just to be clear, there's currently no way to do this via the built in actions? Like other said, i can get the eml > pdf conversion, but it doesn't export the images with it.


    Yes, unfortunately, that's how it is.

  • ayomalireid Profile Picture
    2 on 20 Mar 2023 at 16:54:16
    Re: save email as pdf

    Ok, so just to be clear, there's currently no way to do this via the built in actions? Like other said, i can get the eml > pdf conversion, but it doesn't export the images with it.

  • teqs Profile Picture
    103 on 25 Feb 2023 at 12:18:09
    Re: save email as pdf

    I tested today, and as @elizabds said already, the Email->*.eml->*.pdf workflow is working again. Still same problems as before, no images as example, but I do not get an error anymore when the "Convert file" input is named with extension *.eml.
    Perhaps it's related to email content, i don't know. Or MS has fixed the isssue I postetd 3 posts before.
    Anyway, seems to work fine again. Thanks!

  • teqs Profile Picture
    103 on 12 Feb 2023 at 14:00:34
    Re: save email as pdf

    Hello @elizabds

     I hope you don't mind me asking a quick question. As in the accepted solution, you did a "Create File" of the incoming email-body to a *.eml-file. And from this "Create File" you placed the ID (result) into the "Convert File" as input?


    This had not worked for me in the last weeks anymore, because "Convert File" threw an Error ("Conversion of this file to PDF is not supported") with a *.eml file. If this now works again, I will try to change it again next week. Just want to be sure it's the same solution.

    Thanks a lot!

  • elizabds Profile Picture
    12 on 09 Feb 2023 at 03:34:13
    Re: save email as pdf

    This accepted solution works for me and the explanation about the final deletion step was helpful too. I changed 'Received time' to 'subject' since it works better for our team. I've been troubleshooting and LOOKING for this solution for a while. Great forum. Thank you!!

  • teqs Profile Picture
    103 on 30 Jan 2023 at 09:20:48
    Re: save email as pdf

    Built-in solution to convert Emails to PDF stops working because "Convert file", which is used to convert to PDF, is not accepting "*.eml" anymore. It delivers an error message.

     

     

    {
     "status": 406,
     "message": "Conversion of this file to PDF is not supported. (Sandbox_BadArgument_ArgumentNull / An exception occurred while executing within the Sandbox)",
     "source": "api.connectorp.svc.ms"
    }

     

     

    I tried to simply change the exported email from *.eml to *.html, but with *.html the conversion of email with "Convert file" is not working well. It does not identify the email header and display it correctly anymore.

    Is there any currently working solution to export incoming emails to PDF with built-in Power Automate nodes?

     

    @v-xida-msft: I see you are "Community Support" and posted the solution ( https://powerusers.microsoft.com/t5/Building-Flows/save-email-as-pdf/m-p/109222/highlight/true#M10717 )

    Would be very nice if you could communicate with MS that your posted solution is working again. As I described, "Convert file" is not able to convert EML to PDF anymore. Thank you!

     

  • Jaxon Anthony Profile Picture
    on 08 Dec 2022 at 07:48:22
    Re: save email as pdf

    If you want to save Outlook emails as PDF, read this article. It has explained the best techniques via manual and automated methods. All the methods are very efficient to perform. But many non-technical users may not perform the manual approach. So they can go with the professional method.

  • Jaxon Anthony Profile Picture
    on 22 Nov 2022 at 06:35:20
    Re: save email as pdf

    Users can read this blog to save Outlook email as PDF. This blog has explained the two types of solutions, manual and professional methods. Both methods are helpful and perform successfully. So read the blog carefully and get these solutions. 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 73

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 66 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 48 Super User 2025 Season 1

Overall leaderboard