Export emails
export_emailsExport selected emails as EML (ZIP) or MBOX files and receive a temporary download URL for retrieval.
Instructions
Export selected emails as EML (ZIP) or MBOX format. Returns a temporary download URL when complete.
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": {
"emailIds": "<emailIds>"
},
"name": "export_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format: 'eml' (ZIP of .eml files) or 'mbox' | eml |
| emailIds | Yes | Comma-separated email IDs (GUIDs) to export |