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 :
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,179

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 121

#2
ManoVerse Profile Picture

ManoVerse 71 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans