Skip to content

Email, phone and messaging

The best email API for AI agents: 7 compared on inboxes, receiving and price

7 email APIs compared on what an AI agent needs from email: its own inbox, mail that arrives as an event, threads, your own domain and the price per inbox. Prices as listed on 23 November 2026.

The best email API for AI agents depends on what the agent does with mail. AgentMail, Resend Inboxes and Nylas Agent Accounts give each agent its own inbox, while Postmark, Mailgun and Amazon SES send at volume and pass incoming mail to your code. When the agent also needs a phone number for text codes and a browser that stays signed in, Obsession puts all three under one identity, with inboxes at $0.50 a month.

ComparedEmail APIs for AI agents comparedGo straight to the comparison
On this page
  1. What an agent needs from an email API
  2. Inboxes built for agents
  3. Sending APIs that also receive
  4. Test inboxes for QA
  5. Email APIs for AI agents comparedCompared
  6. What 20 or 1,000 agent inboxes cost
  7. When the code comes by text
  8. Which to choose, by job
  9. Questions about email APIs for AI agents

An email API for AI agents gives an agent an address it can send from and receive at, through code. A support agent answers customers from it and a sales agent reads the reply to its follow-up. A buying agent signs up to a supplier portal and opens the confirmation link. For developers choosing one, the useful split is how each service treats incoming mail, because an agent that can send but can’t read the reply only does half of its job.

These 7 services fall into 3 kinds:

  • Inboxes built for agents: AgentMail, Resend Inboxes and Nylas Agent Accounts, where one API call creates a new address with its own mailbox and threads.
  • Sending APIs that also receive: Postmark, Mailgun and Amazon SES, built to send transactional mail at volume, which parse mail sent to your domain and hand it to your code.
  • Test inboxes: MailSlurp, which creates inboxes and phone numbers for automated tests of sign-up and password reset flows.

What an agent needs from an email API

A person reads mail in an app. An agent reads it through an API, so 6 checks decide whether a service fits:

  • An inbox per agent, in one call. A new address for each agent, user or task, ready when the call returns, so one agent’s mail never mixes with another’s.
  • Receiving that arrives as an event. A webhook is a web address in your app that the service calls the moment an email lands. The agent acts on the reply in seconds instead of checking a mailbox on a timer.
  • Threads. Replies grouped by conversation, so the agent reads the whole exchange before it answers.
  • Your own domain. Sending from your company’s domain needs SPF, DKIM and DMARC, the DNS records that receiving mail servers check to confirm which company sent a message. They decide whether mail reaches the inbox.
  • A price per inbox you can scale. One agent costs little anywhere. The bill that matters is 50, 1,000 or 10,000 inboxes.
  • The second code. Many sign-ups send a confirmation link by email and then a 6-digit code by text. An email API covers the first, and the agent still needs a phone number for the second.

Every service is described from its own pricing, product and documentation pages as listed on 23 November 2026, with prices in US dollars per month. Some also run an MCP server (Model Context Protocol, the standard way AI agents such as Claude call tools), so an assistant can read and send mail without code.

Inboxes built for agents

AgentMail

AgentMail’s home page is headed “Email for AI Agents”. It creates inboxes through a REST API, with threaded replies, attachments, and webhooks and WebSockets for new mail. It adds custom domains, Python and TypeScript SDKs, an MCP server and IMAP and SMTP access, the protocols mail apps use to read and send.

  • What it does well: an inbox per agent with everything a developer expects from a mailbox, built for agents from the start.
  • Price as listed: on its pricing page, Free is $0 for 3 inboxes and 3,000 emails a month. Developer is $20 for 10 inboxes and 10,000 emails, with $2 a month for each extra inbox and each extra 1,000 emails. Startup is $200 for 150 inboxes and 15,000 emails a day, with a SOC 2 report.
  • Where it stops: its pages describe email. An agent that also needs a phone number or a browser buys those from other providers.
  • Best for: agents whose whole job happens over email.

Resend Inboxes

Resend began as a sending API for developers. On 22 October 2026 it announced Inboxes: each inbox sends and receives at an address on one of your domains, conversations are grouped into threads, and agents connect through MCP or skills. A built-in agent can draft replies, forward threads, add labels and archive, with the actions you allow. Resend’s receiving docs describe incoming mail parsed and posted to your endpoint, at your domain or at a Resend address.

  • What it does well: inboxes on the same account as a high-volume sending API, at $1 a month for each extra inbox.
  • Price as listed: on its pricing page, every plan includes 3 inboxes, and extra inboxes cost $1 a month each on paid plans with pay as you go. Free is $0 for 3,000 emails a month and 100 a day; Pro is $20 for 50,000 emails or $35 for 100,000.
  • Where it stops: each received email counts toward the plan’s sending quota, and extra inboxes need a paid plan.
  • Best for: teams already sending through Resend who want an agent on the same account.

Nylas Agent Accounts

Nylas built its API to read people’s own Gmail and Outlook accounts. Its Agent Accounts page is headed “Email & Calendar for Your AI Agents”: a mailbox and a calendar hosted by Nylas, created in one API call. The agent can propose times, send invitations and handle replies to them from the same address. Nylas writes the MX records for your domain and sets up SPF, DKIM and DMARC. Its MCP server lists 40+ coding agents, Claude Code and Cursor among them.

  • What it does well: a calendar beside the inbox, for agents that book meetings, with the same API reading your users’ own accounts.
  • Price as listed: on its pricing page, Free includes 3 agent accounts and 3,000 emails a month. Essentials is $15 for 10 accounts and 10,000 emails. Pro is $49 a month for 50 accounts and 50,000 emails, then $0.40 for each extra account and $0.80 per extra 1,000 emails.
  • Where it stops: IMAP and SMTP access starts on Essentials, and the page lists no overage prices for Free or Essentials.
  • Best for: scheduling agents, and products that work in users’ own mailboxes as well as the agent’s.

Sending APIs that also receive

These 3 services were built to send receipts, password resets and notifications at volume. Each can also receive: mail sent to your domain is parsed and passed to your code. There is no inbox to create per agent, so your code decides which agent each address belongs to and keeps the threads.

Postmark

  • What it does well: inbound processing that posts each email to your app as JSON, with its spam score, headers and attachments. It adds a clean copy of the reply text without the quoted thread.
  • Price as listed: on its pricing page, a free developer plan sends 100 emails a month. Pro is $16.50 a month from 10,000 emails, then $1.30 per 1,000, with inbound processing included.
  • Where it stops: inbound processing is on Pro and Platform, and Basic ($15) doesn’t list it.
  • Best for: a support or reply agent on one domain, where clean reply text saves the model reading quoted history.

Mailgun

  • What it does well: inbound routes, rules that match incoming mail by address and forward it to your webhook or another inbox.
  • Price as listed: on its pricing page, Free sends 100 emails a day with 1 inbound route. Basic is from $15 for 10,000 emails with 5 routes. Foundation is $35 for 50,000 emails with full inbound routing, and Scale is $90 for 100,000.
  • Where it stops: full inbound routing starts on Foundation, and Free keeps logs for 1 day.
  • Best for: teams sending at volume who want rules that send each address’s mail to the right agent.

Amazon SES

  • What it does well: the lowest list price here. SES pricing is $0.10 per 1,000 emails sent and $0.10 per 1,000 received, plus $0.09 per 1,000 incoming chunks of 256 KB.
  • Price as listed: pay as you go; new AWS customers get up to $200 in Free Tier credits.
  • Where it stops: receipt rules deliver incoming mail to an S3 bucket or an SNS topic, so your team writes the inboxes, threads and webhooks to the agent. Receiving works only in the AWS Regions that support it.
  • Best for: teams already on AWS with engineers to build inboxes and threads themselves.

Test inboxes for QA

MailSlurp

MailSlurp’s home page reads “Build, test and automate email and SMS.” It creates temporary or permanent inboxes and real mobile numbers for codes, with libraries for Playwright, Cypress and Selenium, and lets agents receive messages and draft replies through MCP and its API.

  • What it does well: email and text in one test account, for checking that a sign-up sends its code.
  • Price as listed: on its pricing page, Free is $0 for 250 emails received a month in temporary inboxes. Starter is $19.99 for 2,500 received, Pro $69 for 5,000, and Growth $199 for 5,000 with a custom domain. Phone numbers are paid separately.
  • Where it stops: every listed plan caps the emails received each month, from 250 to 5,000.
  • Best for: QA teams testing their own sign-up, login and password reset flows.

Email APIs for AI agents compared

We make Obsession, so every other option is described from its provider’s own pages as of 23 November 2026.

OptionWhat it does wellPriceWhere it stopsBest for
By handa shared mailbox a person checksJudgement on every replyYour team’s hoursFalls behind an agent’s speed and volumeA few emails a day
Inboxes for agentsAgentMail, Resend Inboxes, NylasAn inbox per agent in one call, with threadsAgentMail: free for 3, $20 for 10, $2 each afterResend: 3 included, $1 each afterNylas: free for 3, $49 for 50AgentMail: email onlyResend: received mail uses send quotaNylas: IMAP from $15Agents that live in email
Sending APIs that receivePostmark, Mailgun, Amazon SESSending at volume, inbound parsed to your codePostmark: $16.50 for 10,000Mailgun: $35 for 50,000SES: $0.10 per 1,000No inbox per agent; threads are your codeHigh-volume senders with engineers to spare
Test inboxesMailSlurpEmail and text codes in one test accountFree for 250 received, then $19.99 to $199Received mail capped per monthQA on your own sign-up
ObsessionOursEmail, Phone, Browser, Inbox agentAn inbox per agent, plus a number and a browser under one identity, every event in one logFree, then $20, $99 or $499 a month; usage per pieceSays it’s an AI to a person; stops before payment unless given your cardAgents that sign up, take text codes and read every reply
Email APIs for AI agents. Prices in US dollars a month from each provider’s own pages, as listed on 23 November 2026

What 20 or 1,000 agent inboxes cost

Inbox prices pull apart as a fleet grows. Taking 2 example fleets, each priced on the cheapest plan its provider lists for it, before taxes and any volume deal:

Provider20 inboxes, 20,000 emails1,000 inboxes, 100,000 emails
AgentMail$60: Developer $20, 10 extra inboxes and 10,000 extra emails at $2 each$1,900: Startup $200, 850 extra inboxes at $2
Resend$37: Pro $20, 17 extra inboxes at $1$1,032: Pro $35, 997 extra inboxes at $1
Nylas$49: Pro, up to 50 agent accounts$469: Pro $49, 950 extra accounts at $0.40, 50,000 extra emails
Obsession$20: Developer covers the $18 of usage$499: Scale covers the $540 of usage
Example inputs. Each provider’s listed plans and extra-inbox prices, 23 November 2026. Obsession’s plan fee covers usage at its list rates up to $20 on Developer and $588 on Scale

At 10,000 inboxes, before email volume, the same listed prices come to $19,900 a month on AgentMail, $10,017 on Resend, $4,029 on Nylas and $4,911 on Obsession’s Scale plan. At that size AgentMail’s bill is about $239,000 a year, before any agent needs a phone number. Postmark, Mailgun and SES price sending and receiving, with no inbox to buy, so they sit outside this table.

When the code comes by text

An agent signing up to a supplier portal, a software trial or a booking site often meets 2 checks in a row: a link by email, then a code by text. An email API answers the first. For the second, the agent needs a phone number. Where the site remembers the device, it also needs a browser that stays signed in, so tomorrow starts without the checks.

One agent signs up, confirms by email, takes the text code and is still signed in the next morning, every step in one log. Larkfield is an invented company.

Obsession is the toolkit for AI agents: phone numbers, inboxes, browsers and sandboxes on one API and one bill. Its email API for AI agents gives each agent an inbox in one call. The inbox sends and receives, keeps every thread and attachment, and reads verification codes and confirmation links out of each email. A persona puts that inbox, a US or UK number and a browser that keeps its logins under one identity, free while it waits. Every email, text and page lands in one event log.

Obsession’s API and MCP give an agent each piece in one call, the same over MCP, the HTTP API and the TypeScript and Python SDKs.

  • obsession.inboxes.create() gives the agent its own address. Each new email reaches your webhook as email.received, about 50 ms after it lands.
  • obsession.numbers.create({ country: "US" }) gives it a number. Each text arrives as sms.received.
  • obsession.personas.create({ inbox: true, phone: "US", browser: true }) puts the inbox, number and browser under one identity.

An inbox is $0.50 a month and email $0.40 per 1,000, sent or received. A US number is $2 a month and a text $0.015. The Free plan includes 3 inboxes, 3,000 emails and 1 number (every rate). Teams who don’t write code can run the Inbox agent blueprint instead. It answers every email on its own address from your help pages and rules, and hands the rest to a person in Slack with a draft.

Which to choose, by job

Use Obsession when your agent needs an inbox and one more piece, such as a number for text codes or a browser that stays signed in. For email alone:

  • An inbox per agent, email only: AgentMail, with an SMTP relay and an MCP server on every plan.
  • The lowest price per extra inbox: Resend, at $1 a month once a team is on a paid plan.
  • Agents that book meetings: Nylas, with a calendar beside each agent’s inbox.
  • A reply agent on one domain: Postmark, for its clean reply text, or Mailgun for routing rules.
  • The lowest price per email, with engineers to build the rest: Amazon SES.
  • QA on your own sign-up and password reset flows: MailSlurp.

An agent that signs in to websites needs a browser too, and the best browser for AI agents compares 7 cloud browsers on price per hour and per GB. The AI agent infrastructure stack sets out every layer an agent can need, and how to build an AI agent from scratch wires the first tools. Obsession vs AgentMail compares the two inboxes line by line, and AgentMail, Twilio, Browserbase and E2B in one API prices 4 bills against one.

Questions about email APIs for AI agents

It depends on the job. AgentMail, Resend Inboxes and Nylas Agent Accounts give each agent its own inbox. Postmark, Mailgun and Amazon SES send at volume and pass incoming mail to your code, and MailSlurp is built for testing sign-ups. When the agent also needs a phone number for text codes and a browser that stays signed in, Obsession puts all three under one identity.

One that creates an inbox per agent in one call and posts each new email to a webhook. As listed on 23 November 2026, AgentMail charges $20 a month for 10 inboxes and Nylas $49 for 50. Resend charges $1 for each extra inbox on a paid plan, and Obsession $0.50 an inbox a month.

Email API for AI agents

Yes. An inbox API creates an address with its own mailbox, so the agent sends from it, receives replies and reads confirmation links. With your own domain and its SPF, DKIM and DMARC records, the agent sends from your company’s domain.

Through a webhook or a WebSocket. The service calls your app the moment an email lands, with its thread and attachments, and your code passes it to the agent. Sending APIs such as Postmark and Mailgun parse mail sent to your domain the same way, and Amazon SES delivers it to an S3 bucket or an SNS topic.

Several have free plans. As listed on 23 November 2026, AgentMail, Resend and Nylas each include 3 inboxes and 3,000 emails a month. Obsession’s Free plan includes 3 inboxes, 3,000 emails, 1 phone number and 10 browser hours, with no credit card.

It receives codes and links sent by email. Many sign-ups also send a code by text, which needs a phone number. Obsession reads the code out of each email and gives the same agent a number, so both arrive as events at your webhook.

ShareLinkedInX

Sources

In the order the article cites them. Every link was checked on 23 Nov 2026.

  1. AgentMail home pageAgentMail
  2. PricingAgentMail
  3. Announcing InboxesResend, 22 Oct 2026
  4. Receiving emailsResend documentation
  5. PricingResend
  6. Agent AccountsNylas
  7. PricingNylas
  8. Inbound emailPostmark
  9. PricingPostmark
  10. PricingMailgun
  11. Amazon SES pricingAmazon Web Services
  12. Email receiving with Amazon SESAmazon Web Services documentation
  13. MailSlurp home pageMailSlurp
  14. PricingMailSlurp

What should your first AI agent do?