This gives Claude the ability to send and receive emails programmatically through dedicated inboxes. You'd use it when building AI agents that need to handle customer support emails, send outreach campaigns, or manage multi-threaded conversations. The draft system is smart for human-in-the-loop workflows where you want Claude to compose emails but need approval before sending. Pods provide proper multi-tenant isolation if you're building a SaaS product where each customer needs their own set of inboxes. The API is clean with good SDK support for both TypeScript and Python, and they've thought through the details like idempotency keys and requiring both text and HTML versions for deliverability.

skills.sh installs
3K
GitHub stars
26
last updated
Aug 21, 2026

Install

$ npx -y skills add agentmail-to/agentmail-skills --skill agentmail --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/agentmail-to/agentmail-skills
Categories
Backend & APIs, DevOps & CI/CD, AI & Agent Building, Python, CLI & Terminal

More from agentmail-to/agentmail-skills

All 7
1coinbase avatarpay-for-servicecoinbase/agentic-wallet-skillsMake a paid API request to an x402 endpoint with automatic USDC payment. Use when you or the user want to call a paid API, make an x402 request, use a paid serv2.9Kskills.sh installs
2actionbook avatardomain-iotactionbook/rust-skillsUse when building IoT apps. Keywords: IoT, Internet of Things, sensor, MQTT, device, edge computing, telemetry, actuator, smart home, gateway, protocol, 物联网, 传感2.9Kskills.sh installs
3wordpress avatarwp-abilities-auditwordpress/agent-skillsAudit a WordPress plugin's REST surface and produce a standardized audit document proposing Abilities API registrations. Produces a markdown doc with a YAML sch2.9Kskills.sh installs
4elastic avatarkibana-streamselastic/agent-skillsList, inspect, enable, disable, and resync Kibana Streams via the REST API. Use when the user needs stream details, ingest/query settings, queries, significant 2.9Kskills.sh installs
5binance avatarspotbinance/binance-skills-hubBinance Spot request using the Binance API. Authentication requires API key and secret key. Supports testnet, mainnet, and demo.2.9Kskills.sh installs
6onmax avatarnuxt-modulesonmax/nuxt-skillsUse when creating Nuxt modules: (1) Published npm modules (@nuxtjs/, nuxt-), (2) Local project modules (modules/ directory), (3) Runtime extensions (components,2.9Kskills.sh installs