agentmail-cli
Operate AgentMail from a shell with the official CLI.
Skill by itzmetanjim
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/itzmetanjim-agentmail-cli
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agentmail-cli
What's inside
- Skill name
agentmail-cli- Description
- Operate AgentMail from a shell with the official CLI. Use when the user wants commands for listing or creating inboxes, reading or searching mail, sending or replying, managing drafts, or scripting JSON/YAML output; do not use for SDK code, MCP setup, or framework adapters.
- License
- AGPL-3.0
- Instructions
- 119 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# AgentMail CLI Install the CLI and provide the API key through the environment. ```bash npm install -g agentmail-cli export AGENTMAIL_API_KEY="am_..." ``` Subcommands for a resource nested under another use a colon, e.g. `inboxes:messages`, `inboxes:threads`, `pods:inboxes`, `pods:threads`. ## Inboxes ```bash 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 ```bash 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>" agentmail inboxes:messages reply --inbox-id <inbox_id> \ --message-id <message_id> \ --text "Reply body" agentmail inboxes:messages forward --inbox-id <inbox_id> \ --message-id <message_id> \ --to "someone@example.com" agentmail inboxes:threads list --inbox-id <inbox_id> agentmail inboxes:threads get --inbox-id <inbox_id> --thread-id <thread_id> ``` Use a message ID for replies. Fetch the full message before relying on body content. ## Drafts ```bash agentmail inboxes:drafts create --inbox-id <inbox_id> \ --to "recipient@example.com" \ --subject "Pending approval" \ --text "Draft body" agentmail inboxes:drafts list --inbox-id <inbox_id> agentmail inboxes:drafts get --inbox-id <inbox_id> --draft-id <draft_id> agentmail inboxes:drafts send --inbox-id <inbox_id> --draft-id <draft_id> ``` ## Pods Pods group inboxes together. ```bash agentmail pods create --name "My Pod" agentmail pods list agentmail pods:inboxes create --pod-id <pod_id> --display-name "Pod Inbox" agentmail pods:inboxes list --pod-id <pod_id> agentmail pods:threads list --pod-id <pod_id> agentmail pods:threads get --pod-id <pod_id> --thread-id <thread_id> ``` ## Webhooks ```bash agentmail webhooks create --url "https://example.com/webhook" --event-type message.received agentmail webhooks list ``` ## Domains ```bash # The CLI requires --feedback-enabled; set it to route bounce/complaint # notifications to your inboxes. agentmail domains create --domain example.com --feedback-enabled agentmail domains verify --domain-id <domain_id> agentmail domains get-zone-file --domain-id <domain_id> ``` ## Global flags | Flag | Purpose | | --- | --- | | `--api-key` | Override `AGENTMAIL_API_KEY` for this call | | `--base-url` | Point at a non-default API host | | `--environment` | Select a named environment | | `--format` | Output format (see below) | | `--format-error` | Control structured error output | | `--transform` | GJSON projection of a successful response | | `--transform-error` | GJSON projection of an error response | | `--debug` | Verbose request/response logging | ## Output formats `--format` accepts: `auto` (default), `pretty`, `json`, `jsonl`, `yaml`, `raw`, `explore`. Run `agentmail --help` and the relevant resource's `--help` before using an administrative command not covered here.
From itzmetanjim/coolton, AGPL-3.0.
More from itzmetanjim/coolton
- 0.569score
marimo-pair
itzmetanjim
Drive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
retro-marimo-pair
itzmetanjim
Session retrospective for improving marimo-pair and marimo._code_mode.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
slack-bot-builder
terminal-skills
Builds Slack bots and integrations using the Slack API (Bolt framework).
SkillBFreshness: B★ 3Claude Code +9 - 0.519score
agent-email-patterns
itzmetanjim
Architecture patterns for AI agents that communicate over email -- why agents need dedicated inboxes rather than human email accounts, infrastructure/provider…
SkillCFreshness: C★ 3Claude Code +9 - 0.519score
agentmail
itzmetanjim
Build with the AgentMail TypeScript or Python SDK for inbox, message, thread, draft, attachment, domain, allow/block list, webhook, and WebSocket workflows…
SkillCFreshness: C★ 3Claude Code +9 - 0.516score
email-for-ai-agents
itzmetanjim
Deprecated alias of the agent-email-patterns skill, kept so existing installs and pinned URLs keep resolving.
SkillCFreshness: C★ 3Claude Code +9 - 0.516score
agentmail-sdk
itzmetanjim
Deprecated alias of the agentmail skill, kept so existing installs and pinned URLs keep resolving.
SkillCFreshness: C★ 3Claude Code +9 - 0.514score
agentmail-mcp
itzmetanjim
Configure or troubleshoot the hosted AgentMail MCP server for Codex, Claude Code, Cursor, or another Streamable HTTP MCP client.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
rossmann-voice
itzmetanjim
Louis Rossmann's writing voice for general prose: testable-number density, high sentence-length variance, claim-then-proof structure, contractions, contempt…
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
agentmail-toolkit
itzmetanjim
Add AgentMail tools to agent frameworks with the TypeScript or Python AgentMail Toolkit.
SkillCFreshness: C★ 3Claude Code +9 - 0.510score
agentmail-send-email
itzmetanjim
Draft, send, reply to, or forward email through the connected AgentMail MCP server.
SkillCFreshness: C★ 3Claude Code +9 - 0.510score
agentmail-manage-inboxes
itzmetanjim
Create, list, inspect, update, or delete AgentMail inboxes through the connected MCP server.
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jul 18, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/itzmetanjim/coolton
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from itzmetanjim
- 0.569score
marimo-pair
itzmetanjim
Drive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
retro-marimo-pair
itzmetanjim
Session retrospective for improving marimo-pair and marimo._code_mode.
SkillBFreshness: B★ 3Claude Code +9 - 0.519score
agent-email-patterns
itzmetanjim
Architecture patterns for AI agents that communicate over email -- why agents need dedicated inboxes rather than human email accounts, infrastructure/provider…
SkillCFreshness: C★ 3Claude Code +9 - 0.519score
agentmail
itzmetanjim
Build with the AgentMail TypeScript or Python SDK for inbox, message, thread, draft, attachment, domain, allow/block list, webhook, and WebSocket workflows…
SkillCFreshness: C★ 3Claude Code +9 - 0.516score
agentmail-sdk
itzmetanjim
Deprecated alias of the agentmail skill, kept so existing installs and pinned URLs keep resolving.
SkillCFreshness: C★ 3Claude Code +9 - 0.516score
email-for-ai-agents
itzmetanjim
Deprecated alias of the agent-email-patterns skill, kept so existing installs and pinned URLs keep resolving.
SkillCFreshness: C★ 3Claude Code +9
Cite this page
agentmail-cli skill. Agent Mart. https://agentmart.dev/skills/itzmetanjim-agentmail-cli (last updated 2026-10-24)