From cli-email
Check and manage email using himalaya CLI. Use when user asks to check email, read email, list unread, archive messages, or says "/check-email".
How this skill is triggered — by the user, by Claude, or both
Slash command
/cli-email:check-emailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage email from the command line using `himalaya` with local Maildir sync via mbsync.
Manage email from the command line using himalaya with local Maildir sync via mbsync.
| Name | Provider | Usage |
|---|---|---|
personal | Fastmail (default) | Personal email |
oddball | Google Workspace | Work/VA email |
The default account is personal. Use -a oddball for work email.
himalaya must be installed and configured. If any command fails with "command not found", suggest running /setup-email.
Email is synced to local Maildir (~/Mail/) via mbsync + IMAP IDLE (near-instant). Himalaya reads from local Maildir — no network needed for reading.
# Personal inbox (default)
himalaya envelope list
# Work inbox
himalaya envelope list -a oddball
# List a specific folder
himalaya envelope list -f Sent
himalaya envelope list -f "[Gmail]/Sent Mail" -a oddball
# Read by ID (from envelope list output)
himalaya message read <id>
# Read from work account
himalaya message read <id> -a oddball
himalaya flag add <id> seen
himalaya flag add <id> seen -a oddball
Use the mail-archive script (not raw himalaya move) — it handles UID stripping for mbsync compatibility:
# Archive from personal (moves to Archive folder)
mail-archive <id> [id...]
# Archive from work/Gmail (moves to [Gmail]/All Mail)
mail-archive -a oddball <id> [id...]
# Sync all accounts
mbsync -a
# Sync a single account
mbsync personal
mbsync work
# Full pipeline (sync + text extraction + search index update)
mail-sync -a
Use qmd for full-text search across all indexed email:
# Fast keyword search (BM25)
qmd search "quarterly report" -c email
# Semantic search with reranking (slower, more relevant results)
qmd query "emails about the server migration timeline" -c email -n 5
# Search across everything — email, wiki, notes
qmd query "meeting with Alex about deployment"
# Compose in editor
himalaya message write
# Quick send (pipe content)
echo "Message body" | himalaya message write --to "[email protected]" --subject "Subject"
mail-archive for archiving (never use raw himalaya message move — it causes mbsync UID conflicts)qmd query for natural language queries and qmd search for specific keywords/setup-email to set up the full email stacknpx claudepluginhub ericboehs/claude-plugins --plugin cli-emailManages email via Himalaya CLI: lists inboxes/folders, reads unread messages, sends/replies/forwards emails, switches accounts. Use for read/send email tasks.
Manages Apple Mail on macOS: read, search, send, reply, forward, flag, delete, and organize emails via natural language.
Reads and searches Gmail for the configured user via the gog CLI, with structured output and Gmail query syntax support.