From himalaya-email
Himalaya CLI email client. Use when the user asks about emails, wants to read messages, check inbox, trace email origins, or manage email from the terminal.
How this skill is triggered — by the user, by Claude, or both
Slash command
/himalaya-email:himalaya-emailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use `himalaya` (v1.2.0) for all email operations. The user's account should be configured in `~/Library/Application Support/himalaya/config.toml`.
Use himalaya (v1.2.0) for all email operations. The user's account should be configured in ~/Library/Application Support/himalaya/config.toml.
# List recent emails (default: INBOX)
himalaya envelope list --page-size 20
# List emails in a specific folder
himalaya envelope list --folder "Sent" --page-size 20
# Read an email by ID (marks as seen)
himalaya message read <ID>
# Read without marking as seen (preview mode)
himalaya message read -p <ID>
# Read with no headers (body only)
himalaya message read --no-headers <ID>
# Read with specific headers visible
himalaya message read -H "From" -H "To" -H "Subject" -H "Date" <ID>
# Search/filter envelopes (if supported by backend)
himalaya envelope list --page-size 50
When the user wants to know where an email came from, read it with authentication headers:
himalaya message read -p \
-H "From" \
-H "Reply-To" \
-H "Return-Path" \
-H "Received" \
-H "X-Originating-IP" \
-H "Authentication-Results" \
-H "Received-SPF" \
-H "DKIM-Signature" \
-H "ARC-Authentication-Results" \
-H "Message-ID" \
-H "X-Mailer" \
<ID>
spf=pass means the sending IP is authorized by the domain. Look for the IP in Received-SPF.dkim=pass means the email signature is valid and the content wasn't tampered with. Check header.d= for the signing domain.dmarc=pass means the domain's SPF/DKIM alignment policy passed.@ often reveals the originating mail system.# JSON output (useful for parsing)
himalaya envelope list --output json --page-size 10
# Plain text (default)
himalaya envelope list --output plain --page-size 10
The reply command requires a TTY for interactive send/save prompt, so use message send with raw MIME instead:
# Reply to an email (construct raw MIME)
# 1. Get the Message-ID and References from the original
himalaya message read -p -H "Message-ID" -H "References" -H "In-Reply-To" <ID>
# 2. Send a raw reply with proper threading headers
cat <<'RAWMSG' | himalaya message send
From: Your Name <[email protected]>
To: Recipient <[email protected]>
Subject: Re: Original Subject
In-Reply-To: <[email protected]>
References: <previous-refs> <[email protected]>
Content-Type: text/plain; charset=utf-8
Reply body here.
RAWMSG
Always ask the user to approve the draft before sending.
In-Reply-To to the Message-ID of the email you're replying toReferences to the original's References + its Message-ID (space-separated)Re: prefix on Subject to match the threadConfig maps standard folder names to Gmail's IMAP folders (via folder.aliases, note the plural):
sent → [Gmail]/Sent Maildrafts → [Gmail]/Draftstrash → [Gmail]/Bin (or [Gmail]/Trash depending on locale)spam → [Gmail]/SpamConfig location: ~/Library/Application Support/himalaya/config.toml
-p (preview) flag when just investigating — avoids marking emails as read--header flag is -H (short form), not --headers (that doesn't exist)--raw flag — use -H with specific header names instead--all flag on message send — construct To/Cc headers manually for reply-all--folder to access otherssave-copy must be false in the himalaya config. Gmail's SMTP automatically saves sent messages to Sent Mail — if himalaya also saves a copy via IMAP, the message appears twice. The config should have message.send.save-copy = false.npx claudepluginhub isaacrowntree/claude-social-skills --plugin himalaya-emailManages email via Himalaya CLI: lists inboxes/folders, reads unread messages, sends/replies/forwards emails, switches accounts. Use for read/send email tasks.
Guides Apple Mail inbox triage, organization, replies, and cleanup using MCP tools like get_inbox_overview, move_email, and batch operations for productivity workflows.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.