From himalaya
Manages email via Himalaya CLI: lists inboxes/folders, reads unread messages, sends/replies/forwards emails, switches accounts. Use for read/send email tasks.
npx claudepluginhub dapi/claude-code-marketplace --plugin himalayaThis skill is limited to using the following tools:
CLI-based email management using [Himalaya](https://github.com/pimalaya/himalaya).
Manages emails via Himalaya CLI (IMAP/SMTP): list, search, read, reply, forward, compose with MML from terminal. Supports multiple accounts and secure auth.
Manages Gmail across multiple accounts: read, search, send, reply to emails, and handle labels using Python scripts and API with structured sending workflow.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Share bugs, ideas, or general feedback.
CLI-based email management using Himalaya.
Himalaya must be installed and configured by the user. Check availability:
himalaya account list
If this fails, inform the user they need to install and configure himalaya first.
# Last 20 messages from INBOX
himalaya envelope list -f INBOX -s 20
# Unread only
himalaya envelope list "not flag seen"
# From specific sender
himalaya envelope list "from boss@company.com"
# By subject
himalaya envelope list "subject meeting"
# By date
himalaya envelope list "after 2025-01-20"
# Combined filters
himalaya envelope list "from support@example.com and after 2025-01-01"
# Different account
himalaya envelope list -a "work@company.com" -s 10
# Read by ID (from envelope list)
himalaya message read <id>
# Preview without marking as read
himalaya message read -p <id>
himalaya folder list
IMPORTANT: Before sending, ASK the user:
himalaya account list to show options)# From is REQUIRED - use email from account list
himalaya template send <<'EOF'
From: sender@example.com
To: recipient@example.com
Subject: Email subject
Body text here.
Unicode supported.
EOF
himalaya template send <<'EOF'
From: me@example.com
To: main@example.com
Cc: copy@example.com
Bcc: hidden@example.com
Subject: Important message
Message body.
EOF
# Use -a flag AND matching From header
himalaya template send -a "work@company.com" <<'EOF'
From: work@company.com
To: client@example.com
Subject: Project update
Status report.
EOF
# List configured accounts
himalaya account list
# Use specific account (add -a flag to any command)
himalaya envelope list -a "personal@gmail.com" -s 10
himalaya template send -a "work@company.com" <<'EOF'
...
EOF
not <condition> - negation<cond> and <cond> - both conditions<cond> or <cond> - either conditiondate <yyyy-mm-dd> - exact datebefore <yyyy-mm-dd> - before dateafter <yyyy-mm-dd> - after datefrom <pattern> - sender containsto <pattern> - recipient containssubject <pattern> - subject containsbody <pattern> - body containsflag <flag> - has flag (seen, answered, flagged, deleted, draft)# Unread from last week
himalaya envelope list "not flag seen and after 2025-01-18"
# From boss OR urgent in subject
himalaya envelope list "from boss@company.com or subject urgent"
If himalaya returns an error, show it to the user. Common errors:
himalaya: command not found — himalaya not installedno account found — no configured accountsconnection refused — IMAP/SMTP server unreachableauthentication failed — wrong password/credentials