export_email
Save a Proton Mail message's raw .eml source to disk for backup or migration to another system.
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. |