export_email
Save a message's full raw source as an .eml file to disk for backup or migration. Requires PROTONMAIL_ALLOW_FILE_DOWNLOAD_DIR.
Instructions
Save a message's full raw source (RFC822/.eml) to disk. Use for backup or migrating a message elsewhere. Requires PROTONMAIL_ALLOW_FILE_DOWNLOAD_DIR to be configured, same as save_attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | Composite email id in FOLDER::UID format. | |
| outputPath | No | Optional file or directory path to write the .eml to. |