Save email as .msg
Save an email, with its recipients, HTML body and attachments, as an Outlook .msg file.
Command in the Email toolkit · id ooa.email/save_email_as_msg · 6 inputs, 2 outputs
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 .msg 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. |
| attachments | Number | Number of attachments saved in the file. |