The email inbox
built for AI agents.

OpenMail is a real email API for AI agents. Give each agent its own inbox, send and receive email, and get replies instantly.

No credit card required

Claude CodeOpenClawLangChainVercel AI SDK

Built for agents, not marketers.

Traditional email APIs were designed to blast newsletters. OpenMail is designed for two-way communication, real threading, and agents that actually need to act on what they receive.

Instant Replies

Replies land in your agent's lap. No polling. Webhooks or WebSocket, pick what fits your stack. The moment an email hits an inbox, your handler fires with parsed, prioritized data, ready for your agent to act on.

Webhook200 OK
POST /webhooks/inbox-8291
{
"event": "message.received",
"data": {
"subject": "Re: Project Alpha",
"priority": "high",
"summary": "Client approved the budget..."
}
}
WebSocketconnected
wss://api.openmail.sh/v1/ws
# subscribe → receive same payload

Sender rules

Account-level allowlists and blocklists by email or domain.

"inbound_filter_mode": "allowlist"
ALLOWcompany.com
ALLOWsupport@stripe.com
BLOCKmailer-noreply.net
BLOCKnewsletter@hubspot.com

One inbox per agent

Each agent gets its own email. Not shared inboxes, not forwarding. Real identity for every agent you build.

agent-7f2a@acme.co
support-bot@acme.co
billing@acme.co

LLM-ready attachments

Every inbound event ships with signed download URLs for every attachment. Opt into parsing and PDFs, CSVs, images, and docs arrive as plain text ready to drop into a prompt. Your agent never touches a MIME type.

PDF
invoice_2024.pdfParsed
CSV
data_export.csvParsed
PNG
screenshot.pngParsed
XLSX
report.xlsxParsed

Pick how your agent handles email.

Set a mode during setup. Switch anytime with openmail setup --reconfigure.

On demand

The agent sends and reads email when you ask. No background activity.

youSend an email to john@company.com about our new product, OpenMail.
agentCalling openmail_send_email…
agentDone. Email sent to john@company.com.

Alert on arrival

New email arrives, you get alerted. You decide what happens next.

You've got mail
just now
Samantha is asking about that new feature you promised to ship.
fromsamantha@company.com

Fully autonomous

Incoming email triggers an autonomous reply. No human in the loop.

Where is my order?received
Reading thread, composing reply…agent
Your order ships this Friday.sent

Works with the agents you already use.

One command to give OpenClaw or Claude Code a real inbox. Or talk directly to the REST API — WebSocket for instant replies, no polling.

# Install the OpenMail skill from ClawHub
npx clawhub@latest install openmail

# OpenClaw walks you through:
#   → Auth with your OpenMail account
#   → Creating your inbox
#   → Choosing a mode: Tool / Notify / Channel

# Reconfigure anytime
openmail setup --reconfigure

Frequently asked questions

Writing

All posts →
01Postmarksend-only
02Resendsend-only
03OpenMailagent-native
04AgentMailagent-native
05Mailgunbuild it
06Amazon SESbuild it
8 min read

Best email providers for AI agents in 2026

Most rankings put a transactional API at the top. If your agent needs to receive a reply, correlate a thread, or handle an OTP in under five seconds, the top two picks will cost you a refactor.

May 14, 2026
OpenMailMailgunAmazon SES
6 min read

OpenMail vs Mailgun vs Amazon SES

Mailgun sends. SES is cheap. Neither was built for agents that receive, thread, and parse attachments. Here’s what’s actually different between all three.

May 6, 2026
ASCII art render of the Creation of Adam — two hands reaching toward each other, one human, one digital
11 min read

Why Every Email Option Falls Short for AI Agents

Gmail bans agents. Proton has no API. Outlook is a maze. Resend can't receive. A look at why every email option falls short for AI agents and what the risks are.

Apr 13, 2026
OpenClaw email setup guide
5 min read

How to Give OpenClaw Its Own Email Address

One ClawHub command gives your OpenClaw agent a dedicated inbox with real-time delivery. Choose a usage mode — tool, notify, or channel — and you're done.

Mar 29, 2026
why
8 min read

Why Your AI Agent Needs Its Own Email Address

An agent can browse the internet, write code, take actions. But without an email address it has no identity it can actually use.

Mar 18, 2026
eu
4 min read

We're EU-Based. That's Not a Footnote — It's the Point.

OpenMail is built in the EU, runs in the EU, and every customer is covered by GDPR — not as a checkbox, but as a legal guarantee.

Mar 16, 2026
start
6 min read

Your AI Agent Needs an Email Address. Here's Why That's Harder Than It Sounds.

Email feels like a solved problem — until you try to give an AI agent its own inbox. Here's what we learned building email infrastructure for autonomous agents.

Mar 12, 2026
audience
5 min read

This Is Not for Human Eyes

We noticed that AI agents were finding OpenMail before we'd fully built for them. Here's what we saw — and what we built next.

Mar 12, 2026

Every AI agent deserves its own inbox.

Install the CLI, run setup, and you're sending email from your agent in minutes.

No credit card required · Cancel anytime