
Agentmail
Build AgentMail inbox, message, webhook, and deliverability code with the TypeScript or Python SDK.
- CCM score
- 66 of 100
- skills.sh installs
- 3.1K
- GitHub stars
- 26
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers inboxes, messages, threads, drafts, attachments, domains, allow/block lists, pods, webhooks, and WebSocket workflows
- Includes agent sign-up and API key rotation, plus DNS/DKIM/SPF administration and bounce, spam, and blocked-mail triage
- Flags API gotchas such as the missing
messages.delete,reply()without a subject parameter, and signed attachment URLs that expire in about an hour - Designed for developers implementing or reviewing AgentMail API code, not for direct mailbox operations, CLI, or MCP setup
Install
$ npx -y skills add agentmail-to/agentmail-skills --skill agentmail -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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 AGENTMAIL_API_KEY.
npm install agentmail
pip install agentmail
Quick start
Create an inbox, send, and read a reply. Full per-language usage lives in the references.
import { AgentMailClient } from "agentmail";
const client = new AgentMailClient({ apiKey: process.env.AGENTMAIL_API_KEY });
const inbox = await client.inboxes.create({ username: "support", clientId: "support-v1" });
await client.inboxes.messages.send(inbox.inboxId, {
to: ["customer@example.com"],
subject: "Hello",
text: "Plain-text body",
});
// .list() returns metadata only — fetch the full message to read the body.
const messages = await client.inboxes.messages.list(inbox.inboxId, { limit: 20 });
const message = await client.inboxes.messages.get(inbox.inboxId, "msg_123");
const body = message.extractedText ?? message.text ?? message.extractedHtml ?? message.html;
from agentmail import AgentMail
from agentmail.inboxes.types import CreateInboxRequest
Details
- Repository
- github.com/agentmail-to/agentmail-skills
- Categories
- Email & Messaging, AI Agents & LLM Apps, Backend & APIs
More from agentmail-to/agentmail-skills
All 7Similar to Agentmail
More Email & Messaging
agent-email-patternsSkillagentmail-to/agentmail-skills939 installsArchitecture patterns for AI agents that email, covering inbox isolation, conversation loops, and threat modeling.
e2a — email for AI agentsMCP servermnexa-ai200 starsAuthenticated email inboxes and sending for AI agents, with human approval gates and SPF/DKIM/DMARC evidence.
email-for-ai-agentsSkillagentmail-to/agentmail-skills866 installsArchitecture, security, and provider tradeoffs for AI agents communicating over dedicated email inboxes.
resendPluginanthropics/claude-plugins-official48.1K starsAgent skills for working with Resend to send and receive emails — email API integration, agent inbox, CLI, React Email components, and deliverability best pract
agent-email-inboxSkillresend/resend-skills14.3K installsSecure inbox setup for AI agents and email-triggered workflows, with sender allowlists and sandboxed processing.
cloudflare-email-serviceSkillcloudflare/skills127.2K installsCloudflare-hosted skill for sending and receiving email via Email Sending and Email Routing, with retrieval-first guidance.