agentmail
Give AI agents their own email inboxes using the AgentMail API.
Skill by leecyno1
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/leecyno1-agentmail-d9f7fc
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agentmail
What's inside
- Skill name
agentmail- Description
- Give AI agents their own email inboxes using the AgentMail API. Use when building email agents, sending/receiving emails programmatically, managing inboxes, handling attachments, organizing with labels, creating drafts for human approval, or setting up real-time notifications via webhooks/websockets. Supports multi-tenant isolation with pods.
- License
- MIT
- Instructions
- 279 lines in SKILL.md · view on GitHub
Files (4)
- GUIDE.md
- SKILL.md
- webhooks.md · references/
- websockets.md · references/
SKILL.md (first lines)
# AgentMail SDK
AgentMail is an API-first email platform for AI agents. Install the SDK and initialize the client.
## Installation
```bash
# TypeScript/Node
npm install agentmail
# Python
pip install agentmail
```
## Setup
```typescript
import { AgentMailClient } from "agentmail";
const client = new AgentMailClient({ apiKey: "YOUR_API_KEY" });
```
```python
from agentmail import AgentMail
client = AgentMail(api_key="YOUR_API_KEY")
```
## Inboxes
Create scalable inboxes on-demand. Each inbox has a unique email address.
```typescript
// Create inbox (auto-generated address)
const autoInbox = await client.inboxes.create();
// Create with custom username and domain
const customInbox = await client.inboxes.create({
username: "support",
domain: "yourdomain.com",
});
// List, get, delete
const inboxes = await client.inboxes.list();
const fetchedInbox = await client.inboxes.get("inbox@agentmail.to");
await client.inboxes.delete("inbox@agentmail.to");
```
```python
# Create inbox (auto-generated address)
inbox = client.inboxes.create()
# Create with custom username and domain
from agentmail.inboxes.types import CreateInboxRequest
inbox = client.inboxes.create(
request=CreateInboxRequest(username="support", domain="yourdomain.com"),
)
# List, get, delete
inboxes = client.inboxes.list()
inbox = client.inboxes.get(inbox_id="inbox@agentmail.to")
client.inboxes.delete(inbox_id="inbox@agentmail.to")
```
## Messages
Always send both `text` and `html` for best deliverability.
```typescript
// Send message
await client.inboxes.messages.send("agent@agentmail.to", {
to: "recipient@example.com",
subject: "Hello",
text: "Plain text version",
html: "<p>HTML version</p>",
labels: ["outreach"],
});
// Reply to message
await client.inboxes.messages.reply("agent@agentmail.to", "msg_123", {
text: "Thanks for your email!",
});
// List and get messages
const messages = await client.inboxes.messages.list("agent@agentmail.to");
const message = await client.inboxes.messages.get("agent@agentmail.to", "msg_123");
// Update labels
await client.inboxes.messages.update("agent@agentmail.to", "msg_123", {
addLabels: ["replied"],
removeLabels: ["unreplied"],
});
```
```python
# Send message
client.inboxes.messages.send(
inbox_id="agent@agentmail.to",
to="recipient@example.com",
subject="Hello",
text="Plain text version",
html="<p>HTML version</p>",
labels=["outreach"]
)
# Reply to message
client.inboxes.messages.reply(
inbox_id="agent@agentmail.to",
message_id="msg_123",
text="Thanks for your email!"
)
# List and get messages
messages = client.inboxes.messages.list(inbox_id="agent@agentmail.to")
message = client.inboxes.messages.get(inbox_id="agent@agentmail.to", message_id="msg_123")
# Update labels
client.inboxes.messages.update(
inbox_id="agent@agentmail.to",
message_id="msg_123",
add_labels=["replied"],From leecyno1/boutique-skills, MIT.
More from leecyno1/boutique-skills
- 0.587score
agent-reach
leecyno1
MUST USE when user wants to 调研/research/搜索/search/查/找/look up anything on the internet — e.g.
SkillBFreshness: B★ 6Claude Code +9 - 0.573score
a-stock-data
leecyno1
当任务需要写代码实际获取A股数据时使用——拉取行情/K线(mootdx+腾讯+百度)、研报(东财+同花顺+iwencai)、信号(热点/北向/龙虎榜/解禁/行业)、资金面(融资融券/大宗/股东户数/分红/资金流)、新闻、财务三表/F10、公告(巨潮)、打板(涨停池/连板/炸板率/重点监控池/日内异动)、ETF期权(T…
SkillBFreshness: B★ 6Claude Code +9 - 0.537score
agent-builder
leecyno1
Build high-performing OpenClaw agents end-to-end.
SkillCFreshness: C★ 6Claude Code +9 - 0.537score
agent-browser
leecyno1
Headless browser automation CLI for AI agents.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
agentmail-mcp
leecyno1
AgentMail MCP server for email tools in AI assistants.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
agentmail-toolkit
leecyno1
Add email capabilities to AI agents using popular frameworks.
SkillCFreshness: C★ 6Claude Code +9 - 0.527score
agentmail
leecyno1
Send and receive emails programmatically using the AgentMail API via CLI
SkillCFreshness: C★ 6Claude Code +9
Signals
- Stars
- 6
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 15, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/leecyno1/boutique-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from leecyno1
- 0.587score
agent-reach
leecyno1
MUST USE when user wants to 调研/research/搜索/search/查/找/look up anything on the internet — e.g.
SkillBFreshness: B★ 6Claude Code +9 - 0.584score
dasheng-stage-publish-video
leecyno1
Use when entering publish stage and needing the mandatory pre-publish video supplement, including interactive chart videos and motion narrative videos with…
SkillBFreshness: B★ 5Claude Code +9 - 0.584score
dasheng-sop-orchestrator
leecyno1
Use when running, resuming, or auditing the full Dasheng 8-stage media workflow with strict stage contracts and delivery outputs.
SkillBFreshness: B★ 5Claude Code +9 - 0.584score
dasheng-account-illustrations
leecyno1
Use when a WeChat article or video needs account-bound concept illustrations.
SkillBFreshness: B★ 5Claude Code +9 - 0.584score
dasheng-stage-distribute
leecyno1
Use when entering the distribute stage to publish rewritten content and videos across WeChat, Xiaohongshu, Douyin, Weibo, and X platforms using existing…
SkillBFreshness: B★ 5Claude Code +9 - 0.584score
dasheng-stage-rewrite
leecyno1
Use when generating the 4-variant rewrite set per topic with hard word-count validation, final-structure inheritance, and optional personal style DNA injection.
SkillBFreshness: B★ 5Claude Code +9
Cite this page
agentmail skill. Agent Mart. https://agentmart.dev/skills/leecyno1-agentmail-d9f7fc (last updated 2026-10-24)