maily_export_eml
Saves a message as a raw .eml file to a chosen folder under Downloads, Desktop, or Documents, avoiding overwrites by numbering duplicate names and returning the written path.
Instructions
Saves a message as an .eml file (raw RFC 822) on disk. dest_path : folder or full path inside ~/Downloads, ~/Desktop or ~/Documents (default: ~/Downloads). An existing file is never overwritten: a number is added to the name. Works for Gmail and IMAP accounts. Returns the path of the written file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_id": "<message_id>"
},
"name": "maily_export_eml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_path | No | ||
| message_id | Yes |