export
Export Outlook emails in various formats including individual messages, conversation threads, or raw MIME content for backup, analysis, or migration purposes.
Instructions
Export emails. target=message exports one email. target=messages batch-exports. target=conversation exports a thread. target=mime gets raw MIME/EML content.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Export target (default: message) | |
| id | No | Email ID (target=message/mime, required) | |
| format | No | Export format (target=message: mime/eml/markdown/json, target=conversation: eml/mbox/markdown/json/html) | |
| savePath | No | File path or directory (target=message) | |
| includeAttachments | No | Include attachments (default: true for single, false for batch) | |
| emailIds | No | Email IDs to export (target=messages) | |
| searchQuery | No | Search query to find emails (target=messages, alternative to emailIds) | |
| outputDir | No | Output directory (target=messages/conversation, required) | |
| conversationId | No | Conversation ID (target=conversation, required) | |
| order | No | Message order (target=conversation, default: chronological) | |
| headersOnly | No | MIME headers only, no body (target=mime) | |
| base64 | No | Return base64 encoded (target=mime) | |
| maxSize | No | Max content size in bytes (target=mime, default: 1MB) |