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

Installs 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

More from agentmail-to/agentmail-skills

All 7
1dbt-labs avatartroubleshooting-dbt-job-errorsdbt-labs/dbt-agent-skillsDiagnoses dbt Cloud/platform job failures by analyzing run logs, querying the Admin API, reviewing git history, and investigating data issues. Use when a dbt Cl1Kskills.sh installs
2orchestra-research avatartensorboardorchestra-research/ai-research-skillsVisualize training metrics, debug models with histograms, compare experiments, visualize model graphs, and profile performance with TensorBoard - Google's ML vi1Kskills.sh installs
3orchestra-research avatarnemo-curatororchestra-research/ai-research-skillsnemo curator1Kskills.sh installs
4orchestra-research avatarsparse-autoencoder-trainingorchestra-research/ai-research-skillsProvides guidance for training and analyzing Sparse Autoencoders (SAEs) using SAELens to decompose neural network activations into interpretable features. Use w1Kskills.sh installs
5orchestra-research avatarblip-2-vision-languageorchestra-research/ai-research-skillsVision-language pre-training framework bridging frozen image encoders and LLMs. Use when you need image captioning, visual question answering, image-text retrie1Kskills.sh installs
6orchestra-research avatarnemo-evaluator-sdkorchestra-research/ai-research-skillsEvaluates LLMs across 100+ benchmarks from 18+ harnesses (MMLU, HumanEval, GSM8K, safety, VLM) with multi-backend execution. Use when needing scalable evaluatio1Kskills.sh installs