cancel
Showing results for 
Search instead for 
Did you mean: 

How to save email as .EML file using Graph API

Halid_Mohamed_N
Level 3
Hi, 
Can someone help to save email as local .EML file (including the attachment) using Graph API?
1 BEST ANSWER

Helpful Answers

ewilson
Staff
Staff
@Halid_Mohamed_N,

We've posted a new version of the Microsoft 365 - Outlook VBO to the Digital Exchange. This VBO uses Microsoft Graph to perform the various mail actions. We've added a new action called Save Mail as File which, as the name implies, provides the ability to get a mail and save it to a local .EML file.

You can find the VBO here.

Cheers,
Eric​

View answer in original post

2 REPLIES 2

ewilson
Staff
Staff
@Halid_Mohamed_N,

The Graph API doesn’t specifically support saving/exporting a message as a .EML file. However, you can get there with a little work. See this link for details:

https://learn.microsoft.com/en-us/graph/outlook-get-mime-message

I’ll add an entry to our development backlog to get this functionality added to our connector.

Cheers,
​Eric

ewilson
Staff
Staff
@Halid_Mohamed_N,

We've posted a new version of the Microsoft 365 - Outlook VBO to the Digital Exchange. This VBO uses Microsoft Graph to perform the various mail actions. We've added a new action called Save Mail as File which, as the name implies, provides the ability to get a mail and save it to a local .EML file.

You can find the VBO here.

Cheers,
Eric​