Save email as EML
Save a complete Gmail message, with attachments, as an .eml file that mail programs can open.
Command in the Google Workspace toolkit · id ooa.google/gmail_save_message_as_eml · 5 inputs (3 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Message ID | String | Yes | Gmail message id from List Gmail messages. | |
| Local path | File | Yes | Where to save the .eml file; a path ending in / or an existing folder gets a file named after the subject. | |
| Overwrite | Boolean | No | true | Replace an existing file; when false a number such as (2) is added to the name. |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | Saved local path. |