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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| ID | Number | No | Email id from Find emails; empty inside an Each email loop = the loop's current email. | |
| Local path | File | No | Folder 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. | |
| Folder | String | No | INBOX | Mail folder. |
| Overwrite | Boolean | No | true | Replace an existing file; when false a number such as (2) is added to the name. |
| Session | String | No | mail | Session name of the open mailbox. |
| File name | String | No | Name of the file in the folder; the email's subject when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | Saved local path. |