Skip to main content

Save email as .eml

Save a complete email, with attachments, as an .eml file that mail programs can open.

Command in the Email toolkit · id ooa.email/save_email_as_eml · 6 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
IDNumberNoEmail id from Find emails; empty inside an Each email loop = the loop's current email.
Local pathFileNoFolder or file to save into (a path ending in / or \ is a folder); empty = a temporary file of this run. In a folder the file is named after the subject (or file name); the step gives the path. Saves the .eml file.
FolderStringNoINBOXMail folder.
OverwriteBooleanNotrueReplace an existing file; when false a number such as (2) is added to the name.
SessionStringNomailSession name of the open mailbox.
File nameStringNoName of the file in the folder; the email's subject when empty.

Outputs​

OutputTypeWhat it is
pathFileSaved local path.