Skip to main content

Save email as .eml

Save a whole email (text, HTML, attachments and headers) as an .eml file that any mail program opens.

Command in the Exchange (EWS) toolkit · id ooa.exchange/save_email_as_eml · 4 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
IDStringYesEmail id from Find emails (an EWS item id).
Local pathFileYesThe .eml file to write, or a folder: the subject then names the file.
OverwriteBooleanNotrueReplace a file that is already there; when false it stops the step.
SessionStringNoexchangeSession name of the open Exchange mailbox.

Outputs​

OutputTypeWhat it is
pathFileThe saved file.