export_to_markdown
Convert an email to formatted markdown with YAML frontmatter. Retrieve the markdown text to save 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) |