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
View on GitHub

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 -y

Installs 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 7

Similar to Agentmail

More Email & Messaging