Pattern Automation
← Blog

Email API vs inbox API: what AI agents actually need

Send-and-forget delivers alerts. An inbox API gives storage, threading, reply identity, and a place for the conversation to continue.

Discuss this post in AI

Send a pre-filled prompt to ChatGPT, Claude, Gemini, or Perplexity — get a summary, ask follow-ups, or compare ideas from this guide.

Teams building agents often start with whatever email API they already use for product notifications. That choice works until the agent must read a reply, keep a thread, or prove it is the same party across days. The missing piece is not a cleverer prompt. It is an inbox API.

Send-and-forget

Classic email APIs—think transactional providers in the SES/SendGrid family—optimize for delivery of outbound messages. You pass recipients, subject, body, and maybe templates. Success means accepted for delivery. There is usually no durable per-agent mailbox, no first-class thread object for the agent to resume, and no natural home for inbound.

That is enough when the agent only notifies: “invoice generated,” “job finished,” “threshold crossed.” It is not enough when a customer asks a follow-up, a vendor attaches a signed PDF, or a registry sends a one-time code.

What an inbox API adds

An inbox API treats the address as a resource:

  • Create inboxes for roles and tenants
  • Store mail so history survives process restarts
  • Thread replies with standard headers
  • Reply as the same identity the counterparty already has
  • Extract attachments for downstream skills
  • Webhook on new mail so the agent wakes on events

Agent Inbox is Pattern Automation’s answer. SDKs in Python, TypeScript, and cURL—plus MCP—expose the same control plane. Neuro OS roles attach the mailbox like any other channel; sends default to Ask.

from agentinbox import AgentInbox
client = AgentInbox()
inbox = client.inboxes.create(username="support", domain="agentinbox.space")

Comparison

Concern Email / send API Inbox API
Outbound notify Strong Supported
Inbound read External / DIY Native
Thread continuity DIY MIME Stored threads
Reply identity Easy to fake, hard to own Mailbox-backed
Attachments as agent input Bolt-on First-class extract
Offboarding a role Revoke send key Revoke inbox + key

When SES-style sending is enough

Use a send API alone when replies are impossible or irrelevant, volume is transactional, and no agent must interpret inbound. Keep domains authenticated. Do not pretend the From header is an agent identity if nothing can receive mail there.

When you need both

Many stacks keep a send path for high-volume receipts and an inbox API for conversational roles. Reputation still splits by domain: billing mail and outreach should not share fate. See deliverability 101 and multi-tenant email.

Forwarding bridges the worlds

Humans will keep getting mail in human clients. Forwarding into an agent inbox moves work without rewriting every upstream system. The agent forwards back when Ask demands a person. That is how Bitrix notifications, amoCRM threads, or a 1C exception can become role work without claiming a native connector for every case.

If you are still deciding whether agents need email at all, read why AI agents need email. For the full loop, use the definitive guide.

Agents do not need another dashboard. They need a mailbox when the work is a conversation—and a send API when the work is a notice. Know which job you are hiring for.

Agent Inbox gives each role a mailbox people can reply to, with forwarding into Neuro OS when a human must see the thread. Outbound mail defaults to Ask. Run the role on Neuro OS. To scope the first inbox, get started.

Explore Neuro OS →

More from Blog