export_to_markdown
Export an email to markdown with YAML frontmatter including date, from, to, and subject. Specify folder and account to retrieve the message, then save the output to a file or clipboard.
Instructions
Export an email as formatted markdown with YAML frontmatter (date, from, to, subject, flags). Returns the markdown text — you can then save it to a file or clipboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Email message ID | |
| folder | No | Folder name (default: INBOX) | |
| account | No | Account name (uses default if omitted) |