Give your AI agent its own email address.

OpenMail gives AI agents a dedicated email address. Create an inbox with one CLI command or one API call. Send email, receive replies, read threads.

No credit card required

Terminal
# Install on OpenClaw (or similar) agent
npm install -g @openmail/cli

# One-command setup
openmail setup

# Response
{
  "id": "inb_8x92ma29s",
  "email": "support@openclaw.ai",
  "displayName": "Support Bot"
}

# Send a message
openmail send --to hello@openclaw.ai --subject "Hello World" --body "I have my own inbox!"
OpenClawLangChainn8nMakeVercel 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

Two-way threading

Replies stay in thread. Customers hit reply in their email client. Your agent gets it in context. No new UI for them to learn.

Re: Help with my order
Customer → Agent
Re: Re: Help with my order
Agent → Customer
Re: Re: Re: Help with my order
Customer → Agent
Re: Re: Re: Re: Help with my order
Agent → Customer
Re: Re: Re: Re: Re: Help with my order
Customer → Agent

One inbox per agent

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

RAG Ready

Attachments, handled. PDFs, CSVs, images - automatically extracted and converted to LLM-ready text. Your agent doesn't need to know what a MIME type is.

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

Simple API

Minimal surface area. Maximum leverage. One call to provision. Webhooks or WebSocket to receive. That's intentional - you shouldn't spend a sprint integrating email.

  • Instant provisioning
  • Custom domains
  • 99.9% uptime SLA
  • SOC 2 in progress
{
  "object": "inbox",
  "id": "inb_8x92ma29s",
  "email": "[email protected]",
  "created": 1678901234,
  "settings": {
    "spam_filtering": true,
    "webhook_url": "https://api.myapp.com/hooks",
    "allowed_senders": ["*"],
    "thread_mode": "conversation"
  },
  "usage": {
    "emails_sent": 142,
    "emails_received": 893
  }
}

Frequently asked questions

Writing

All posts →

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