Save email as file

I am looking for a way to save an Outlook email (.msg format) as a complete original file in a folder.
Has anyone already found a solution?
I would be very grateful for any information or help.

Use a file node to write the email it to file system in the "folder" specified with a suitable filename "an-email.msg"

Of course this assumes you already have the email and it is in msg.payload - you didnt state!

The problem is that the 'node-red-node-email' node splits the incoming email into objects (header, html, from, attachments, ...) and thus the email as such is not loaded into msg.payload. msg.payload ist 'undefined'

Why don't you use a change node to put the parts into the payload as you would like the to be.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.