8 Inbox APIs for SaaS Products: Connect Existing Accounts or Host Your Own (2026)
Compare 8 email inbox APIs for SaaS products: connect customers' Gmail and Outlook or host your own inboxes, with the cost of each at 500 customers.
- engineering
- saas
- inbox-api
- multi-tenant
- comparison

TL;DR
A SaaS product that adds email has to decide whose mailbox the feature runs on before it picks a vendor. This article compares eight inbox APIs across three models. You can connect the mailboxes your customers already have, host new inboxes your product owns, or parse inbound mail. By the end you will know which model fits your feature and what each one costs at a few hundred customers.
Suppose a customer asks for email inside your product. Maybe the CRM should log every message their sales team sends. Maybe the recruiting tool should write to candidates from an address that answers back. The ticket says "add email". It reads like one job.
That ticket hides two jobs. One reads mail that already sits in your customer's mailbox, which brings consent screens, provider reviews and a sync that breaks when a token expires. The other gives your product addresses of its own, which brings domains and DNS you now run. Vendors mostly pick one side.
Which email inbox API fits a SaaS product?
The right inbox API depends on whose mailbox the feature runs on. Nylas, Unipile, Aurinko, the Gmail API and Microsoft Graph read your customers' mailboxes. AgentMail and Nylas Agent Accounts host inboxes your product owns. Postmark parses inbound mail.
The feature reads mail your customers already have: connect their mailboxes through a unified API, or go straight to Google and Microsoft. Budget for the provider reviews either way. Your product needs its own addresses per customer or per agent: host inboxes on domains you verify. Mail is only an input, like replies that update a ticket: inbound parsing is enough.
The three models bill in different units. Connected mailboxes are billed per linked account, hosted inboxes per inbox, and inbound parsing per email. So the cheapest vendor at ten customers is rarely the cheapest at five hundred. MailSlurp is in the table because it shows up in these searches. It is built for testing.
8 inbox APIs side by side
The table sorts each vendor by model first, because that choice comes before price. Entry prices are list prices on monthly billing.
| Vendor | Model | Whose mailbox | Billed by | Way in | Best for |
|---|---|---|---|---|---|
| AgentMail | Hosted inbox | Yours, created by API on your domain or agentmail.to | Inbox, $2 per extra inbox on paid plans | Free plan with 3 inboxes and 1 custom domain | Products that give each customer or agent its own address, walled off per customer |
| Nylas | Connected mailbox, plus hosted Agent Accounts | Your customer's Gmail, Microsoft or IMAP mailbox, or one Nylas hosts | Connected account, and agent account | Free with 5 connected accounts and 3 agent accounts | Products that act on customers' existing mail and calendars |
| Unipile | Connected mailbox | Your customer's Gmail, Outlook or IMAP mailbox | Linked account, any channel | $55 a month for up to 10 accounts | Products that need LinkedIn or WhatsApp next to email |
| Aurinko | Connected mailbox | Your customer's mailbox | Account, priced by data transfer | $1 per account per month | Mailbox sync where the per-account rate decides |
| Gmail API | Provider API | Your customer's Gmail or Google Workspace | No charge for standard use | Your own Google OAuth app and its verification | Gmail-only products with a team to own the review |
| Microsoft Graph | Provider API | Your customer's Outlook or Microsoft 365 | No middle vendor; you build the sync | A multitenant app with publisher verification | Customer bases that run on Microsoft 365 |
| Postmark | Inbound parsing | An inbound address Postmark gives you, or your domain | Email volume | Pro plan, $16.50 a month | Replies that feed comments, tickets or records |
| MailSlurp | Test inbox | Temporary inboxes for test runs | Plan tier | Free, then $19.99 a month | QA teams testing signup and notification emails |
Read the "Whose mailbox" column first. Two vendors can look alike on price and still solve opposite problems. One reads mail a person already has. The other creates an address nobody had yesterday.
What changes when you connect your customers' existing mailboxes?
You take on the provider's rules for apps that read user mail, and those rules are the real cost. The API calls are the small part. The review is not.
Google sorts Gmail access into scopes, and reading or modifying mail falls under restricted scopes. Apps that reach restricted data from or through a third-party server need an annual security assessment by a Google-approved assessor, under a framework called CASA. Unipile, which sells a way around this, puts the assessment at $4,000 to $75,000, so treat that range as a vendor's estimate.
Microsoft has its own gate. If risk-based step-up consent is on, users can't consent to most newly registered multitenant apps that aren't publisher verified. They get an unverified publisher warning instead. Verification needs a Microsoft partner account, so start it before the first enterprise customer tries to connect.
Nylas. A unified API over Gmail, Microsoft and IMAP mailboxes, billed per connected account. Its shared Google OAuth app spares you your own Google verification. It comes only in a $2,400 a year Accelerator add-on on Pro Annual plans. Nylas fits teams that need mail and calendars from the same connected account.
Unipile. One API across email, LinkedIn, WhatsApp and other channels, and every linked identity counts as one account. Its pricing page lists Google CASA Tier 2 as included. Unipile fits products where email is one of several channels a user links.
Aurinko. A unified API for email, calendar, contacts and tasks, priced per account by how much data moves. Aurinko fits high account counts where a dollar per account matters more than extras.
The review is a one-time cost each year. The sync is a cost every day. A connected mailbox stops syncing when an admin revokes the app or a refresh token expires. Your product has to notice and ask the customer to reconnect. Unipile, for one, sends account events by webhook so you can catch it. Plan the reconnect screen on day one.
Going direct to the Gmail API or Graph removes the middle vendor's fee and keeps the review work. You also write the sync, the token refresh and the provider-specific edge cases twice. That trade is covered in more depth in our Gmail API comparison.
What changes when your product hosts the inbox?
You skip the consent screens and take on domains instead. Your code creates the address, so there is no user to sign in and no provider review. The mail now goes out under a domain you set up.
AgentMail. An inbox is one API call, and each customer's inboxes can live in their own pod. We scope inboxes, domains, threads and drafts to a pod, and a key scoped to one pod can't read another. You pass your own tenant id as client_id when you create the pod, so there is no mapping table to keep. The pods guide walks through offboarding a customer as well.
Python
# Create a pod per customer, then an inbox inside it (agentmail Python SDK)import osfrom agentmail import AgentMailclient = AgentMail(api_key=os.environ["AGENTMAIL_API_KEY"])pod = client.pods.create(client_id="customer-acme")inbox = client.pods.inboxes.create(pod.pod_id, username="support", display_name="Acme Support")print(pod.pod_id, inbox.inbox_id)# output: prints the new pod id and the new inbox idPods separate data and keys. They don't separate sender reputation, because mailbox providers judge reputation by domain, so every inbox on a shared domain shares one. A customer whose sending should never affect another needs its own domain. That setup at scale has its own walkthrough.
Nylas Agent Accounts. A hosted inbox and calendar per agent in one API call, on the same API as Nylas's connected accounts. On a custom domain, Nylas writes the MX records and sets up SPF, DKIM and DMARC. It fits teams already on Nylas who want hosted inboxes with a calendar attached, and our Nylas comparison covers the two side by side.
Hosting is also the only model that works when there is no human mailbox to connect. An AI agent your product sells needs an address of its own, and the roundup of inbox provisioning APIs covers that case in detail.
When is inbound parsing enough?
Inbound parsing is enough when email only feeds your app and nobody needs a mailbox. Think reply-to-comment, email-to-ticket, or a forwarding address that turns invoices into records.
Postmark. Mail sent to an inbound address, either a generated one or one on your domain, arrives at your webhook as structured JSON. Inbound processing is on Pro and above, not on Basic. Your app stores the conversation, threads it and decides what a reply means. For that job, Postmark's webhook does the work well.
MailSlurp. Built for testing email flows. The free plan keeps inboxes temporary and leaves out external sending, which suits a test suite and rules out a customer feature. If you are still deciding between sending and owning a mailbox, email API vs inbox API draws that line.
What does each model cost at 500 customers?
Five hundred customers is where the billing units start to matter. The table assumes one mailbox per customer, list prices and monthly billing, and leaves out sending volume unless the plan caps it.
| Setup | Math | Monthly | Also budget for |
|---|---|---|---|
| Nylas, connected accounts (Pro) | $49 with 25 accounts, plus 475 at $2.00 | $999 | The shared Google app, as a paid add-on on annual plans |
| Unipile | 500 accounts at the $4.50 tier rate | $2,250 | Nothing per request; CASA Tier 2 listed as included |
| Aurinko | 500 accounts at $1 to $2 | $500 to $1,000 | Your own Google and Microsoft verification |
| Gmail API direct | No charge for standard use | $0 to Google | The annual assessment and the sync code you write |
| AgentMail, shared domain (Startup) | $200 with 150 inboxes, plus 350 at $2 | $900 | One reputation shared by every customer |
| AgentMail, a domain per customer (Startup) | $900, plus 350 domains past the 150 included at $2 | $1,600 | DNS setup on each customer domain |
| Nylas Agent Accounts (Pro) | $49 with 50 agent accounts, plus 450 at $0.40 | $229 | 50,000 emails a month and 10 custom sending domains included |
| Postmark inbound (Pro) | $16.50 with 10,000 emails, then $1.30 per 1,000 | Depends on volume, not customers | Your own storage and threading |
Nylas Agent Accounts is the cheapest hosted line at list price. Our Startup plan includes 150,000 emails a month and a custom domain per inbox up to 150, and that is where the gap comes from. On the connect side, Aurinko is cheapest per account and Unipile costs the most. Unipile's price includes the Google assessment the others leave to you. Our Enterprise plan adds bulk discounts, and Nylas has a custom Enterprise tier too.
Nylas, Unipile and Aurinko fit products that work inside mail customers already have. The Gmail API and Graph fit teams that would rather own the review than pay a middle vendor. Postmark fits apps where email is only an input. AgentMail fits SaaS products that give each customer or agent an address of its own, walled off per customer.
What AgentMail does not do
We don't connect to a customer's existing Gmail or Outlook mailbox. A feature that reads mail they already have needs a unified API or the provider's own API. Pods keep customers' data and keys apart but not their sender reputation, which takes a domain per customer. If a large share of your customers need both models, plan on running two vendors.




