From email
This skill should be used when the user asks for "email config", "email setup", "configure email", "himalaya setup", "setup email", "set up email", "change email account", "which email account", "add email account", "switch email account", or needs help installing and configuring himalaya. Interactive setup wizard that checks installation, configures accounts, and tests connectivity.
How this skill is triggered — by the user, by Claude, or both
Slash command
/email:configThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Check himalaya installation, configure email accounts, and verify connectivity.
Check himalaya installation, configure email accounts, and verify connectivity.
/email:config # Full setup wizard (interactive)
/email:config --check # Validate current setup without changes
/email:config --add-account # Add an additional email account
which himalaya # Is himalaya CLI installed?
If not installed:
❌ himalaya CLI not found
Install via Homebrew:
brew install himalaya
Or see: https://github.com/pimalaya/himalaya
Look for ~/.config/himalaya/config.toml:
If config exists → jump to Step 5 (validate)
If no config → continue to Step 3 (interactive setup)
Ask the user which email provider to configure:
📧 Email Setup
Which provider?
1. Gmail
2. Outlook / Microsoft 365
3. Fastmail
4. Custom IMAP/SMTP
Based on provider choice, generate ~/.config/himalaya/config.toml:
Gmail template:
[accounts.gmail]
default = true
email = "<user>@gmail.com"
display-name = "<name>"
backend.type = "imap"
backend.host = "imap.gmail.com"
backend.port = 993
backend.encryption = "tls"
backend.auth.type = "password"
backend.auth.command = "security find-generic-password -s himalaya-gmail -w"
message.send.backend.type = "smtp"
message.send.backend.host = "smtp.gmail.com"
message.send.backend.port = 465
message.send.backend.encryption = "tls"
message.send.backend.auth.type = "password"
message.send.backend.auth.command = "security find-generic-password -s himalaya-gmail -w"
For Gmail users, explain app password requirement:
⚠️ Gmail requires an App Password (not your regular password)
1. Go to https://myaccount.google.com/apppasswords
2. Generate an app password for "Mail"
3. Store it in macOS Keychain:
security add-generic-password -s himalaya-gmail -a <email> -w <app-password>
Outlook template:
[accounts.outlook]
default = true
email = "<user>@outlook.com"
display-name = "<name>"
backend.type = "imap"
backend.host = "outlook.office365.com"
backend.port = 993
backend.encryption = "tls"
backend.auth.type = "password"
backend.auth.command = "security find-generic-password -s himalaya-outlook -w"
message.send.backend.type = "smtp"
message.send.backend.host = "smtp.office365.com"
message.send.backend.port = 587
message.send.backend.encryption = "start-tls"
message.send.backend.auth.type = "password"
message.send.backend.auth.command = "security find-generic-password -s himalaya-outlook -w"
Fastmail template:
[accounts.fastmail]
default = true
email = "<user>@fastmail.com"
display-name = "<name>"
backend.type = "imap"
backend.host = "imap.fastmail.com"
backend.port = 993
backend.encryption = "tls"
backend.auth.type = "password"
backend.auth.command = "security find-generic-password -s himalaya-fastmail -w"
message.send.backend.type = "smtp"
message.send.backend.host = "smtp.fastmail.com"
message.send.backend.port = 465
message.send.backend.encryption = "tls"
message.send.backend.auth.type = "password"
message.send.backend.auth.command = "security find-generic-password -s himalaya-fastmail -w"
himalaya account list # Verify account is accessible
If successful:
✅ Connection successful
Account: gmail
Email: [email protected]
IMAP: imap.gmail.com:993 (TLS)
SMTP: smtp.gmail.com:465 (TLS)
If failed, show the error and common fixes:
❌ Connection failed: authentication error
Common fixes:
• Gmail: Ensure you're using an App Password, not your regular password
• Check Keychain entry: security find-generic-password -s himalaya-gmail -w
• Verify config file: cat ~/.config/himalaya/config.toml
himalaya-mcp doctor # End-to-end check
✅ Setup complete!
himalaya CLI .... installed (v1.0.0)
Config file ..... ~/.config/himalaya/config.toml
Account ......... gmail ([email protected])
IMAP ............ connected
SMTP ............ connected
MCP server ...... running
→ Try "/email:inbox" to check your email
→ Try "/email:stats" for inbox overview
Skip the interactive wizard. Just validate:
himalaya account listhimalaya-mcp doctor if available📧 Email Config Check
himalaya CLI .... ✅ installed (v1.0.0)
Config file ..... ✅ ~/.config/himalaya/config.toml
Account(s) ...... ✅ gmail ([email protected])
Connection ...... ✅ IMAP connected
MCP server ...... ✅ plugin enabled
Everything looks good!
✅ Account added: work
Accounts configured:
• gmail (default) — [email protected]
• work — [email protected]
→ Use "account: work" parameter with any tool to access work email
→ "/email:inbox" defaults to gmail (default account)
npx claudepluginhub data-wise/himalaya-mcp --plugin emailManages email via Himalaya CLI: lists inboxes/folders, reads unread messages, sends/replies/forwards emails, switches accounts. Use for read/send email tasks.
Manages Gmail across multiple accounts: read, search, send, reply to emails, and handle labels using Python scripts and API with structured sending workflow.
Integrates Gmail with Claude Code via MCP for email processing: read, search, send, draft, manage labels, attachments, filters, and extract action items.