export_to_markdown
Export an email as markdown with YAML frontmatter including date, from, to, subject, and flags. Returns text ready to save to 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) |