agentmail-toolkit
Add AgentMail tools to agent frameworks with the TypeScript or Python AgentMail Toolkit.
Skill by itzmetanjim
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/itzmetanjim-agentmail-toolkit
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: cloud, agent-building
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-toolkit
What's inside
- Skill name
agentmail-toolkit- Description
- Add AgentMail tools to agent frameworks with the TypeScript or Python AgentMail Toolkit. Use for Vercel AI SDK, LangChain, OpenAI Agents SDK, LiveKit Agents, or MCP adapters; do not use for direct mailbox operations, raw SDK implementation, CLI usage, or MCP client setup.
- License
- AGPL-3.0
- Instructions
- 160 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# AgentMail Toolkit
Install the toolkit for the selected language and set `AGENTMAIL_API_KEY`.
```bash
npm install agentmail-toolkit
pip install agentmail-toolkit
```
The TypeScript and Python packages can expose different tool sets and can release on
different schedules. Discover the installed package's tool catalog at runtime instead
of trusting a hardcoded list:
```typescript
new AgentMailToolkit().getTools().map((tool) => tool.name)
```
```python
[tool.name for tool in AgentMailToolkit().get_tools()]
```
## TypeScript
### Vercel AI SDK
```typescript
import { openai } from "@ai-sdk/openai";
import { streamText } from "ai";
import { AgentMailToolkit } from "agentmail-toolkit/ai-sdk";
const toolkit = new AgentMailToolkit();
const result = await streamText({
model: openai(process.env.OPENAI_MODEL!),
messages,
system: "Use email tools only when the user authorizes the external action.",
tools: toolkit.getTools(),
});
```
### LangChain
```typescript
import { createAgent } from "langchain";
import { AgentMailToolkit } from "agentmail-toolkit/langchain";
const agent = createAgent({
model: process.env.LANGCHAIN_MODEL!,
tools: new AgentMailToolkit().getTools(),
systemPrompt: "Use email tools only when the user authorizes the external action.",
});
```
### MCP server tools
```typescript
import { AgentMailToolkit } from "agentmail-toolkit/mcp";
const tools = new AgentMailToolkit().getTools();
```
Each tool provides a name, title, description, input schema, output schema, callback, and complete annotations for registration on your own MCP server. On a successful call the MCP adapter returns `structuredContent` (validated against the output schema) alongside the JSON text block; on failure it returns an `isError` result. The Python package does not ship an MCP adapter.
### Existing client
```typescript
import { AgentMailClient } from "agentmail";
import { AgentMailToolkit } from "agentmail-toolkit/ai-sdk";
const client = new AgentMailClient({ apiKey: process.env.AGENTMAIL_API_KEY });
const toolkit = new AgentMailToolkit(client);
```
The toolkit constructor takes an existing SDK client as its only argument — it does not accept an `{ apiKey }` options object directly. Construct the SDK client first, then pass it in.
## Python
### OpenAI Agents SDK
```python
from agentmail_toolkit.openai import AgentMailToolkit
from agents import Agent
agent = Agent(
name="Email Agent",
instructions="Use email tools only when the user authorizes the external action.",
tools=AgentMailToolkit().get_tools(),
)
```
### Existing client
```python
from agentmail import AgentMail
from agentmail_toolkit.openai import AgentMailToolkit
client = AgentMail()
toolkit = AgentMailToolkit(client=client)
```
The toolkit constructor takes an existing SDK client as its only argument — it does not accept an `api_key` option directly. Construct the SDK client first, then pass it in.
### LangChain
```python
import os
from agentmail_toolkit.langchain import AgentMailToolkit
from langchain.agents import create_agent
agent = create_agent(
model=os.environ["LANGCHAIN_MODEL"],
tools=AgentMailToolkit().get_tools(),
system_prompt="Use email tools only when the user authorizes the external action.",
)
```
### LiveKit Agents
```pythonFrom itzmetanjim/coolton, AGPL-3.0.
More from itzmetanjim/coolton
- 0.569score
marimo-pair
itzmetanjim
Drive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
slack-bot-builder
terminal-skills
Builds Slack bots and integrations using the Slack API (Bolt framework).
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
retro-marimo-pair
itzmetanjim
Session retrospective for improving marimo-pair and marimo._code_mode.
SkillBFreshness: B★ 3Claude Code +9 - 0.519score
agent-email-patterns
itzmetanjim
Architecture patterns for AI agents that communicate over email -- why agents need dedicated inboxes rather than human email accounts, infrastructure/provider…
SkillCFreshness: C★ 3Claude Code +9 - 0.519score
agentmail
itzmetanjim
Build with the AgentMail TypeScript or Python SDK for inbox, message, thread, draft, attachment, domain, allow/block list, webhook, and WebSocket workflows…
SkillCFreshness: C★ 3Claude Code +9 - 0.516score
agentmail-sdk
itzmetanjim
Deprecated alias of the agentmail skill, kept so existing installs and pinned URLs keep resolving.
SkillCFreshness: C★ 3Claude Code +9 - 0.516score
email-for-ai-agents
itzmetanjim
Deprecated alias of the agent-email-patterns skill, kept so existing installs and pinned URLs keep resolving.
SkillCFreshness: C★ 3Claude Code +9 - 0.514score
agentmail-cli
itzmetanjim
Operate AgentMail from a shell with the official CLI.
SkillCFreshness: C★ 3Claude Code +9 - 0.514score
agentmail-mcp
itzmetanjim
Configure or troubleshoot the hosted AgentMail MCP server for Codex, Claude Code, Cursor, or another Streamable HTTP MCP client.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
rossmann-voice
itzmetanjim
Louis Rossmann's writing voice for general prose: testable-number density, high sentence-length variance, claim-then-proof structure, contractions, contempt…
SkillCFreshness: C★ 3Claude Code +9 - 0.510score
agentmail-send-email
itzmetanjim
Draft, send, reply to, or forward email through the connected AgentMail MCP server.
SkillCFreshness: C★ 3Claude Code +9 - 0.510score
agentmail-manage-inboxes
itzmetanjim
Create, list, inspect, update, or delete AgentMail inboxes through the connected MCP server.
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jul 18, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/itzmetanjim/coolton
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from itzmetanjim
- 0.569score
marimo-pair
itzmetanjim
Drive a live marimo notebook as a workspace: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes.
SkillBFreshness: B★ 3Claude Code +9 - 0.564score
retro-marimo-pair
itzmetanjim
Session retrospective for improving marimo-pair and marimo._code_mode.
SkillBFreshness: B★ 3Claude Code +9 - 0.519score
agent-email-patterns
itzmetanjim
Architecture patterns for AI agents that communicate over email -- why agents need dedicated inboxes rather than human email accounts, infrastructure/provider…
SkillCFreshness: C★ 3Claude Code +9 - 0.519score
agentmail
itzmetanjim
Build with the AgentMail TypeScript or Python SDK for inbox, message, thread, draft, attachment, domain, allow/block list, webhook, and WebSocket workflows…
SkillCFreshness: C★ 3Claude Code +9 - 0.516score
agentmail-sdk
itzmetanjim
Deprecated alias of the agentmail skill, kept so existing installs and pinned URLs keep resolving.
SkillCFreshness: C★ 3Claude Code +9 - 0.516score
email-for-ai-agents
itzmetanjim
Deprecated alias of the agent-email-patterns skill, kept so existing installs and pinned URLs keep resolving.
SkillCFreshness: C★ 3Claude Code +9
Cite this page
agentmail-toolkit skill. Agent Mart. https://agentmart.dev/skills/itzmetanjim-agentmail-toolkit (last updated 2026-10-24)