Hi, new here on make.com and trying to get it al figured out. Some cool scenarios running already.
In one of my scenarios I am connecting to an O365 mailbox and saving all attachments thru FTP and calling an webhook to send other information.
Is it possible - and how to - to save the original O365 email as an ‘normal’ email as *.msg with all the original content and attachments on a FTP?
Hi @Mark_Ruiter,
Welcome to the Make community! Ik hoop dat je hier veel zult delen en leren
The MS 365 email app does not contain a module to download the message, only to Download an Attachment
. You might want to use the Make an API call module for that, if possible. Here is the list of API endpoints: message resource type - Microsoft Graph v1.0 | Microsoft Learn
What I found:
.msg files are specific to outlook, but you can retrieve a message in MIME format. (in Make with the Get Message
or with the $value
parameter: Get message - Microsoft Graph v1.0 | Microsoft Learn). The Graph API above does not directly support creating or downloading .msg files.
If you can get the MIME, you can convert it to an .eml, or maybe even an .msg including the attachments that you can get with Get Attachments
, using an external library (did not look into that).
Then, you can save the .msg on an FTP server.
Cheers,
Henk
2 Likes
Bedankt for the tips to work with MIME instead, I will give that an go.
@Mark_Ruiter Great to hear! If you find a way to make it work, please share your knowledge here so other Makers can benefit from it in the future. This way, our community will become a gold mine of knowledge.
Cheers,
Henk
2 Likes