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.
npx claudepluginhub data-wise/himalaya-mcp --plugin emailThis skill uses the workspace's default tool permissions.
Check himalaya installation, configure email accounts, and verify connectivity.
Manages email via Himalaya CLI: lists inboxes/folders, reads unread messages, sends/replies/forwards emails, switches accounts. Use for read/send email tasks.
Manages emails via Himalaya CLI (IMAP/SMTP): list, search, read, reply, forward, compose with MML from terminal. Supports multiple accounts and secure auth.
Adds read-only IMAP email access to NanoTars agent containers for Gmail, Yahoo, Outlook, and custom servers. Guides app password setup and .env configuration.
Share bugs, ideas, or general feedback.
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: user@gmail.com
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 (user@gmail.com)
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 (user@gmail.com)
Connection ...... ✅ IMAP connected
MCP server ...... ✅ plugin enabled
Everything looks good!
✅ Account added: work
Accounts configured:
• gmail (default) — user@gmail.com
• work — user@company.com
→ Use "account: work" parameter with any tool to access work email
→ "/email:inbox" defaults to gmail (default account)