OpenClaw skill for managing IMAP email with the Post CLI.
- SKILL.md — Core skill reference (command map, workflows)
- SETUP.md — First-time installation and configuration
- references/common-tasks.md — Copy/paste recipes
- references/hook-schema.md — IDLE hook integration
Install the Post CLI via Homebrew:
brew install cocoanetics/tap/postVia ClawHub:
clawhub install postOr manually:
git clone https://github.com/Cocoanetics/post-skill.git ~/Developer/Skills/post-
Store credentials:
post credential set --server work --host imap.example.com --port 993 --username you@example.com -
Start daemon:
postd start
-
Create scoped API key:
post api-key create --servers work
-
Use in agent:
export POST_API_KEY=<token> post list --server work --mailbox INBOX --limit 10
See SETUP.md for complete setup instructions.
- ✅ Read, search, and fetch mail
- ✅ Draft and reply with Markdown/HTML support
- ✅ Reply-all with CC
- ✅ Threaded replies (In-Reply-To, References)
- ✅ Download attachments
- ✅ Move, archive, trash, junk
- ✅ Export as PDF/EML
- ✅ IMAP IDLE daemon with hook support
- ✅ Scoped API keys for per-agent access control
- Unified reply workflow (
post draft --replying-to <uid>) - Auto-derive from/to/subject when replying
--reply-allflag for reply-all with CC- Empty draft creation for inline editing
- Auto-quote original message (HTML→Markdown)
- Updated dependencies: SwiftText 1.1.4, SwiftMCP 1.4.0
Breaking Change: Removed post reply command — use post draft --replying-to <uid> instead
MIT
- Post CLI: https://github.com/Cocoanetics/Post
- ClawHub: https://clawhub.com
- OpenClaw: https://openclaw.ai