web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Format to save email a...
Power Automate
Answered

Format to save email as and then retrieve for new email attachment

(0) ShareShare
ReportReport
Posted on by 14

Hello, I am looking to save an email in a SharePoint list (provided it meets criteria in previous steps), and then attach that email to a new email. However, I've tried saving and retrieving as .eml and .msg and the attachment comes through as generic file (and Windows asks what program you'd like to open in) rather than an email that opens automatically with Outlook. Can anybody help?

 

djstand_0-1683652671834.png

 

TYIA!

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    The .eml or .msg file extension should be added to the file name field, not the file content field as it is in your screenshot.

  • djstand Profile Picture
    14 on at

    Thanks Pstork1.

     

    So the attachment comes through as generic attachment (screenshot 1), but is there anyway to make it come through as a standard email, Outlook attachment like in screenshot 2, where I won't be asked what program to open it with, it just knows Outlook is the one?

     

    (screenshot 1)

    djstand_0-1683653860104.png

     

    (2)

    djstand_1-1683653873932.png

     

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Did you change where you are adding the extension?  If the file has an .eml or .msg extension that will tell your system what app to use to open it.  In your screenshot you aren't adding an extension to the file name.  That's why its a generic file.

  • djstand Profile Picture
    14 on at

    Sorry, maybe I am misunderstanding. I have .msg in the file name field under the Create File action. And then again in the attachments content field under Send an Email. I've since removed .msg from the file content field as you suggested.

     

    Should the .msg be in another field yet? It looks like they are saving as .msg in SharePoint.

    djstand_0-1683654744824.png

     

  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Here's the test I ran and it works fine.  The one issue may be if your OS doesn't have a default program, like Outlook, set for .eml files.

    image.png

  • djstand Profile Picture
    14 on at

    Thanks Paul. I believe I have the right set up now, just need to figure out the default email part. I appreciate your help, and providing what should be the solution.

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Not sure what you mean by "default email part"? Could you explain a bit more and I'll try to help.

  • djstand Profile Picture
    14 on at

    Accidentally replied to general post, not just Pstork1. Removing that comment.

  • djstand Profile Picture
    14 on at

    The bit about how my Outlook does not want to open that email as a piece of mail, and rather asks me what program I'd like to open it with. Regardless of my using .eml or .msg Outlook asks how I'd like to open it rather than simply opening as a standard email. 

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    That's because your OS isn't setup with a default application to use when it encounters those extensions. Follow the steps in this article to set the default application for .eml and .msg on your computer. It will then work without prompting you. Change default programs in Windows - Microsoft Support

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard