Agent skill · software engineering · agentmail-to

agentmail-cli

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.

Why this skill is useful

Provides specific commands and usage patterns for the AgentMail CLI that the AI wouldn't reliably generate on its own.

What it needs

Requires agentmail-cli installed locally. Requires agentmail account access. About 2k tokens when loaded. Last updated 2026-07-21. 21 stars on the source repository.

What this skill does

AgentMail CLI Install the CLI and provide the API key through the environment. Subcommands for a resource nested under another use a colon, e.g. inboxes:messages, inboxes:threads, pods:inboxes, pods:threads. Inboxes Confirm the exact inbox before running the destructive delete command. Messages and threads Use a message ID for replies. Fetch the full message before relying on body content. Drafts Pods Pods group inboxes together. Webhooks Domains Global flags Flag Purpose --- --- --api-key Override AGENTMAILAPIKEY 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.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills agentmail-to/agentmail-cli

View the source on GitHub

Browse the @skills marketplace