/himalaya:export - Export Email
Save an email as structured markdown with YAML frontmatter, with optional clipboard copy.
Usage
/himalaya:export <id> # Export to markdown
/himalaya:export <id> --clipboard # Export and copy to clipboard
/himalaya:export <id> --action-items # Also extract action items
/himalaya:export <id> --clipboard --action-items # Full pipeline
When Invoked
- Call
export_to_markdownto generate structured markdown - If
--action-items, also callcreate_action_itemfor todos/deadlines - If
--clipboard, callcopy_to_clipboardwith the combined output - Present the exported content for review
MCP Tools Used
export_to_markdown— email to markdown with YAML frontmattercreate_action_item— extract tasks, deadlines, commitmentscopy_to_clipboard— copy text to system clipboard
Output Format
📄 Export: Q1 Budget Review
--- markdown exported ---
Subject: Q1 Budget Review
From: alice@example.com
Date: 2026-02-13
---
[full email body]
Action Items:
- [ ] Review budget spreadsheet
- [ ] Submit feedback by Friday
→ Copied to clipboard ✓
→ "Save to file" to save as .md