This gives Claude command-line control over AgentMail's programmable email service. You get the full suite: create inboxes on the fly, send and receive messages, manage threads and drafts, set up webhooks for incoming mail, and even configure custom domains if you've verified them. The pod system lets you group related inboxes together, which is handy for multi-agent setups. It's built for agents that need real email addresses to interact with external services or users, not just API calls pretending to be email. Requires an API key and the npm package installed globally. Output formatting is flexible with JSON, YAML, or pretty-printed options.

skills.sh installs
1.7K
GitHub stars
26
last updated
Aug 21, 2026

Install

$ npx -y skills add agentmail-to/agentmail-skills --skill agentmail-cli --agent claude-code

Installs into .claude/skills of the current project.

Files

AgentMail CLI

Install the CLI and provide the API key through the environment.

npm install -g agentmail-cli
export AGENTMAIL_API_KEY="am_..."

A resource nested under another is a nested subcommand, e.g. inboxes messages, inboxes threads, pods inboxes, pods threads (CLI 1.x; the colon form inboxes:messages is rejected). Run agentmail <resource> --help to list what a resource supports.

Inboxes

agentmail inboxes list
agentmail inboxes get --inbox-id <inbox_id>
agentmail inboxes create --display-name "Support Agent" --username support
agentmail inboxes delete --inbox-id <inbox_id>

Confirm the exact inbox before running the destructive delete command.

Messages and threads

agentmail inboxes messages list --inbox-id <inbox_id>
agentmail inboxes messages get --inbox-id <inbox_id> --message-id <message_id>

agentmail inboxes messages send --inbox-id <inbox_id> \
  --to "recipient@example.com" \
  --subject "Hello" \
  --text "Message body"

# HTML body instead of plain text
agentmail inboxes messages send --inbox-id <inbox_id> \
  --to "recipient@example.com" \
  --subject "Hello" \
  --html "<h1>Hello</h1>"

Sponsors

Details

Repository
github.com/agentmail-to/agentmail-skills
Categories
AI & Agent Building, CLI & Terminal
First seen
May 16, 2026

More from agentmail-to/agentmail-skills

All 7
1sundial-org avatarmemory-setupsundial-org/awesome-openclaw-skillsEnable and configure Moltbot/Clawdbot memory search for persistent context. Use when setting up memory, fixing "goldfish brain," or helping users configure memo1.7Kskills.sh installs
2jezweb avatarelevenlabs-agentsjezweb/claude-skillsBuild conversational AI voice agents on the ElevenLabs platform. Configure agent + tools + knowledge base, integrate SDK (React / React Native / Swift / JS / se1.7Kskills.sh installs
3refoundai avatarbuilding-with-llmsrefoundai/lenny-skillsHelp users build effective AI applications. Use when someone is building with LLMs, writing prompts, designing AI features, implementing RAG, creating agents, r1.7Kskills.sh installs
4arize-ai avatarphoenix-evalsarize-ai/phoenixBuild and run evaluators for AI/LLM applications using Phoenix.1.7Kskills.sh installs
5vinvcn avatarzoom-outvinvcn/mattpocock-skills-zh-cn让 agent zoom out,并给出更广的 context 或更高层 perspective。Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.1.7Kskills.sh installs
6nvidia avatartao-generate-video-reasoning-annotationsnvidia/skillsMulti-step video annotation pipeline that turns raw videos into Chain-of-Thought training data — multi-level captions, structured descriptions, and QA pairs (MC1.6Kskills.sh installs