Help us improve
Share bugs, ideas, or general feedback.
From email-cli
Sends emails via CLI supporting AgentMail, Google Workspace, Proton Mail, and generic SMTP. Use when users request sending emails, composing messages, or email functionality.
npx claudepluginhub tnm/email-cli --plugin email-cliHow this skill is triggered — by the user, by Claude, or both
Slash command
/email-cli:emailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Send emails using the `email-cli` command.
Manages 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.
Gives AI Agents a dedicated mailbox to send/receive emails, distribute tasks, and communicate asynchronously. Supports ClawEmail (NetEase).
Share bugs, ideas, or general feedback.
Send emails using the email-cli command.
# Send a simple email
email-cli send -t recipient@example.com -s "Subject" -m "Message body"
# Send with attachment
email-cli send -t user@example.com -s "Report" -m "See attached" -a report.pdf
# Pipe content from stdin
echo "Generated content" | email-cli send -t user@example.com -s "Report"
email-cli send -t a@example.com -t b@example.com -s "Team Update" -m "Hello team"
email-cli send -t user@example.com -s "Newsletter" -m "<h1>Hello</h1>" --html
email-cli send -p work -t user@example.com -s "Subject" -m "Body"
Before sending, a provider must be configured. Check existing config:
email-cli config list
smtp.gmail.com with an App PasswordAgentMail (easiest - no OAuth, no app passwords):
email-cli config add --name agent \
--type agentmail \
--api-key "am_..." \
--inbox-id "myagent@agentmail.to" \
--default
Get API key and create inbox at agentmail.to. Free tier: 3 inboxes, 3k emails/month.
Gmail (lowest friction for existing accounts):
email-cli config add --name gmail-smtp \
--type smtp \
--from me@gmail.com \
--host smtp.gmail.com \
--port 587 \
--username me@gmail.com \
--password "$GMAIL_APP_PASSWORD" \
--tls \
--default
If user does not have an app password yet:
https://myaccount.google.com/apppasswords.SMTP:
email-cli config add --name mymail \
--type smtp \
--from me@example.com \
--host smtp.example.com \
--port 587 \
--username me@example.com \
--password "password" \
--tls
Proton Mail:
email-cli config add --name proton \
--type proton \
--from me@proton.me \
--username me@proton.me \
--password "bridge-password"
Google API (only when explicitly requested):
email-cli config add --name google \
--type google \
--from me@gmail.com \
--client-id "xxx.apps.googleusercontent.com" \
--client-secret "xxx"
email-cli config set mymail password "new-password"
email-cli config set agent api-key "new-api-key"
# Store secrets in macOS Keychain (optional, macOS only)
email-cli config add --name agent --type agentmail --api-key "am_..." --inbox-id "x@agentmail.to" --use-keychain
email-cli config set --use-keychain mymail password "new-password"
email-cli config show # redacted by default
email-cli config show mymail # redacted by default
email-cli config show --show-secrets # with secrets
email-cli config show --show-secrets mymail
0 = Success1 = Error (check stderr for details)See reference.md for complete API documentation.