
Agentmail Toolkit
If you're building AI agents that need to handle email, this toolkit gives you pre-built tools for the major frameworks instead of wiring up SMTP yourself. It covers both TypeScript (Vercel AI SDK, LangChain, Clawdbot) and Python (OpenAI Agents SDK, LangChain, LiveKit), with tools for creating inboxes, sending and receiving messages, managing threads, and handling attachments. The Node version includes draft support with six additional tools, while Python ships eleven core tools. Configuration is straightforward: drop in your AgentMail API key and call getTools(). It's a clean abstraction if you want agents that can actually manage an inbox without building the plumbing from scratch.
- skills.sh installs
- 1K
- GitHub stars
- 26
- last updated
- Aug 21, 2026
Install
$ npx -y skills add agentmail-to/agentmail-skills --skill agentmail-toolkit --agent claude-codeInstalls into .claude/skills of the current project.
Files
AgentMail Toolkit
Install the toolkit for the selected language and set AGENTMAIL_API_KEY.
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:
new AgentMailToolkit().getTools().map((tool) => tool.name)
[tool.name for tool in AgentMailToolkit().get_tools()]
TypeScript
Vercel AI SDK
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
import { createAgent } from "langchain";
import { AgentMailToolkit } from "agentmail-toolkit/langchain";
Sponsors
Details
- Repository
- github.com/agentmail-to/agentmail-skills
- Categories
- AI & Agent Building, Python, Cloud & Infrastructure, CLI & Terminal
- First seen
- Jun 3, 2026