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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Export Dynamics 365 emails out as EML files using Flow/Power Automate

(0) ShareShare
ReportReport
Posted on by 2,175

Hi guys,

Quick question. I've read a article on how to export office 365 Outlook emails and use it to create a EML file in Sharepoint.

www.oneplacesolutions.com/.../save-important-emails-to-sharepoint-with-microsoft-flow.html

Basically it looks like the Flow for Outlook has a Export email action in flow which you can then put the body into the sharepoint file. 

pastedimage1618307074570v1.png

pastedimage1618307137859v2.png

My question is whether it's possible to do the same with a Dynamics 365 Email. Either sent or received.

I've found alot of articles online on moving email attachments but none on how to save the actual email itself.

Kind regards,

Mike

I have the same question (0)
  • Suggested answer
    Ian McV Profile Picture
    10 on at

    Mike,

    Not sure if you have ever found a solution for this one, but I have the same requirement today and put the following solution in place.  It is working for me (so far).  Thought you may be interested.

    1. Set a string variable and format the Date Sent (I just used the Created On field as Sent Date doesn't always appear to be updated).

       formatDateTime(outputs('Get_a_row_by_ID')?['body/createdon'],'ddd dd MMM, yyyy hh:mm')

    2. Use the Compose action to re-create the email body (refer to the screen shot below for detail)

    3. Create your new .eml file using the Output from the Compose action.  I used the Create OneDrive file for testing.

    You should then be able to open the eml file using Mail or Outlook.  I am not needing the attachments as I am storing these separately, but if you do you may need do a little more investigating.

    Screenshot-2022_2D00_05_2D00_25-185419.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans