Head to head · Mailbox read · October 2026 research run
Fastmail API (JMAP) vs Gmail API
Gmail API scores 77.8 (BB) on agent readiness against Fastmail API (JMAP)'s 54.1 (C), and leads in every scored category. Both do mailbox read.
Which one, for what
Good for An agent working in its owner's own Fastmail mailbox, where JMAP gives batched reads, structured search and state-based sync on an open standard, and MCP gives a ready connection with read, write and send levels.
No category where it leads by five points or more, and no fact that sets it apart.
Watch for
The customer terms forbid programmatically generated email to addresses outside the account, and say the service is not for machine-to-machine workflows
Gmail API BB
Good for An agent working in a Gmail or Google Workspace user's own mailbox, with search, threads, drafts, labels and incremental sync at no per-account fee.
Ahead on
- Reliability, 90 against 54
- Schema & documentation, 82 against 52
- Agent ergonomics, 82 against 73
- Security & auth, 81 against 60
- Payments & pricing, 35 against 30
- Maintenance & community, 85 against 26
- Transparency & trust, 82 against 74
Also in its favour
- Agent-ready, a grade of BB or better
- A hosted endpoint, with nothing to install
Watch for
Eight restricted scopes, including gmail.readonly and gmail.metadata, need restricted-scope verification for a public app
Score by category
| Category | Weight this run | Fastmail API (JMAP) | Gmail API | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 54 | 90 | Gmail API +36 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 52 | 82 | Gmail API +30 |
| Agent ergonomics | 13%16.2 | 73 | 82 | Gmail API +9 |
| Security & auth | 14%17.5 | 60 | 81 | Gmail API +21 |
| Payments & pricing | 10%12.5 | 30 | 35 | Gmail API +5 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 26 | 85 | Gmail API +59 |
| Transparency & trust | 7%8.8 | 74 | 82 | Gmail API +8 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 54.1 · C | 77.8 · BB |
Facts side by side
| Fact | Fastmail API (JMAP) | Gmail API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Fastmail Pty Ltd | |
| Hosted endpoint | no (local only) | https://gmail.googleapis.com/gmail/v1 |
| Transports | HTTP | HTTP, Streamable HTTP |
| Auth | OAuth or key | OAuth |
| Pricing | Paid | Free |
| x402 | no | no |
| Licence | Proprietary service under Fastmail's API Terms of Service and API Developer Policy. JMAP is an open IETF standard, and the sample code on GitHub is MIT | Apache-2.0 (client libraries) |
| Tools exposed | none | 23 |
| Read-only variant documented | yes | no |
| llms.txt | no | no |
| Last release | 2026-04-22 | 2026-09-23 |
| Terms last updated | no date given | 2021-11-09 |
| Privacy policy last updated | no date given | 2026-10-01 |
| Customer content may train models | not found in the text | yes |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | yes | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 123 stars | 12k stars, 1.1M npm/wk |
Verdicts
Fastmail API (JMAP)
A mailbox API built on the open JMAP standard, with read-only tokens, six OAuth scopes and an MCP server that separates read, write and send access. Fastmail publishes no OpenAPI file, SDK, API changelog, request rate limit or SLA, and its customer terms forbid programmatically generated email to addresses outside the account.
Gmail API
Fourteen OAuth scopes separate labels, sending, metadata and read-only access, and the quota page gives every method a unit cost. Eight of the scopes are restricted, read-only and metadata among them, so a public app that reads mail needs Google's verification and an annual third-party security assessment. Gmail mailboxes only.
Before you call either
Fastmail API (JMAP)
- Fetch
https://api.fastmail.com/jmap/sessionwithAuthorization: Bearer <token>first. It returns the API URL, account IDs and the request limits to stay under - Ask the owner for a read-only token unless the task writes. Sending needs both the Email and Email submission scopes
- Request only the
propertiesyou need. Body text is not returned unlessfetchTextBodyValuesis set, andmaxBodyValueBytescaps it - Sync with
Email/changesfrom a stored state. OncannotCalculateChanges, fetch again from scratch - Do not send generated mail to outside recipients without the owner's review. The customer terms forbid it, and trial accounts stop at 120 messages a day
Gmail API
- Ask for the narrowest scope.
gmail.labelsis non-sensitive andgmail.sendis sensitive, while every scope that reads mail is restricted - List with
messages.listandqin Gmail search syntax, then fetch each ID withformat=metadataorfull. List calls return IDs only - Send by posting an RFC 2822 message, base64url encoded, in
raw. SetthreadIdand matching reply headers to stay in a thread - Store the
historyIdand callhistory.list. On a 404, run a full sync. Callwatchagain at least every 7 days - Back off exponentially on 403 and 429 rate errors, and keep batches to 50 requests or fewer
Questions
Which is better for AI agents, Fastmail API (JMAP) or Gmail API?
Gmail API scores 77.8 (BB) on agent readiness against Fastmail API (JMAP)'s 54.1 (C), and leads in every scored category.
Do Fastmail API (JMAP) and Gmail API need an API key?
Fastmail API (JMAP) takes an API key or an OAuth sign-in. Gmail API uses an OAuth sign-in.
Can an agent call Fastmail API (JMAP) and Gmail API without installing anything?
No hosted endpoint is listed for Fastmail API (JMAP). Gmail API has a hosted endpoint at https://gmail.googleapis.com/gmail/v1.
Other comparisons with Fastmail API (JMAP) or Gmail API
- EmailEngine vs Fastmail API (JMAP)
- EmailEngine vs Gmail API
- Fastmail API (JMAP) vs Nylas Email API
- Fastmail API (JMAP) vs Outlook Mail (Microsoft Graph)
- Fastmail API (JMAP) vs Unipile
- Fastmail API (JMAP) vs Zoho Mail API
- Gmail API vs Nylas Email API
- Gmail API vs Outlook Mail (Microsoft Graph)
- Gmail API vs Unipile
- Gmail API vs Zoho Mail API
Machine-readable
- This page as Markdown
/compare/fastmail-vs-gmail-api.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/fastmail.json·/api/v1/tools/gmail-api.json - From a terminal
anchor compare fastmail gmail-api(the CLI) - Over MCP
compare_tools {"a": "fastmail", "b": "gmail-api"}at/mcp, no key