agentmail
Build with the AgentMail TypeScript or Python SDK for inbox, message, thread, draft, attachment, domain, allow/block list, pod, webhook, and WebSocket workflows, including programmatic agent sign-up, domain/DNS administration, and deliverability triage (bounces, spam, blocked mail). Use when implementing or reviewing AgentMail API code; do not use for direct mailbox operations, CLI usage, MCP setup, or framework-toolkit integration.
Install
With your agent
Install OMGSkills skill "agentmail-to/agentmail-plugins:skills/agentmail" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/agentmail-to/agentmail-plugins /tmp/agentmail-plugins && ln -s /tmp/agentmail-plugins/skills/agentmail ~/.claude/skills/agentmail
From README
AgentMail SDK AgentMail is an API-first email platform for AI agents. Use the published SDK interfaces and generated API types as the source of truth. Keep credentials in AGENTMAILAPIKEY. Create an inbox, send, and read a reply. Full per-language lives in the references. Core rules If no AgentMail MCP server is connected, use the SDK directly. Use positional arguments for TypeScript path parameters, such as get(inboxId) and send(inboxId, request). Use CreateInboxRequest for configured organization-level inbox creation in Python. Fetch a full message or thread before reading body content; list responses can contain summaries only. For inbound replies, use extractedtext / extractedhtml, not text / html — they strip quoted history and signatures. Some clients (Gmail, Outlook) send forwards as HTML-only, so treat html as the primary fallback and text as optional. Reply and forward with a message ID, not a thread ID.
More from this repo
agent-email-patterns
Architecture patterns for AI agents that communicate over email -- why agents need dedicated inboxes rather than human...
agentmail-cli
Operate AgentMail from a shell with the official CLI.
agentmail-mcp
Configure or troubleshoot the hosted AgentMail MCP server for Codex, Claude Code, Cursor, Claude.ai, ChatGPT, or...
