Build AI agents with their own email inboxes. Requires an AgentMail API key — sign up free.
| Example | Description |
|---|---|
| LangChain Terminal | Chat with a LangChain agent with AgentMail tools via terminal |
| OpenAI Terminal | Chat with an OpenAI agent with AgentMail tools via terminal |
| Example | Description |
|---|---|
| Email Agent | Agent that responds autonomously via email |
| Sales Agent | Agent that sells products to prospects via email |
| Dinner Agent | Agent that coordinates dinner plans via email |
| GitHub Maintainer Agent | Agent that manages GitHub issues and PRs via email |
Production-ready agent templates. Each has matching Python + TypeScript implementations and is tested end-to-end against real AgentMail + Claude APIs. Featured at agentmail.to/build/templates.
Productivity
| Example | Description |
|---|---|
| Scheduling Agent | Books meetings via email with calendar invite (.ics) attachments |
| Inbox Zero | Drafts replies, flags what needs you, sends a morning digest |
| Note Taker | Forward emails — they become Markdown notes you can search |
| Approval Inbox | Your inbox is your approval queue. Configure once, approve everything from email |
Sales & Outbound
| Example | Description |
|---|---|
| GTM Agent | Cold outbound + warm-reply handoff to your sales team |
| Sales Signal Router | Triage inbound sales mail. Ping Slack. EOD digest |
| Negotiation Agent | Multi-party negotiator for used cars, apartments, B2B contracts |
Support
| Example | Description |
|---|---|
| Support Agent | Auto-respond to support tickets, escalate when stuck |
| Docs Assistant | Answers product questions by web-searching your docs (cited) |
Finance
| Example | Description |
|---|---|
| Invoice Processor | Claude PDF vision extracts invoices, matches POs, auto-approves under limit |
| x402 Payment Agent | Vendor invoices land in inbox. Allowlisted vendors auto-pay via x402 |
Marketing & Personal
| Example | Description |
|---|---|
| Newsletter Digest | Summarizes daily newsletter blasts into one morning digest |
| Dinner Reservation | Books dinner reservations end-to-end (2-thread orchestration) |
| Browser Signup Agent | Sign up for anything on the web + handle OTP / verification links |
# Clone the repo
git clone https://github.com/agentmail-to/agentmail-examples.git
cd agentmail-examples
# Set your API key
export AGENTMAIL_API_KEY=am_us_xxx
# Run an example
cd email-agent
pip install -r requirements.txt
python main.pyTo pull just one template (without the whole monorepo):
npx degit agentmail-to/agentmail-examples/sales-signal-router my-signal-router
cd my-signal-router/python
pip install -r requirements.txt && python agent.py- AgentMail — The email API for AI agents
- Documentation
- Python SDK
- TypeScript SDK
- Discord