Head to head · Mailbox access · October 2026 research run

Himalaya vs Nylas Email API

Nylas Email API scores 81.6 (A) on agent readiness against Himalaya's 61.6 (C), and leads in 5 of 7 scored categories. Himalaya leads on reliability and payments & pricing. Both do mailbox access.

Best mailbox access APIs for AI agents · All 55 mailboxes comparisons

Which one, for what

Himalaya C

Best for An agent with a shell that must work in one person's existing mailbox on any provider, including plain IMAP hosts, without a hosted intermediary.

Ahead on

  • Reliability, 84 against 77
  • Payments & pricing, 90 against 60

Also in its favour

  • Open source

Watch for

Until 2.2.1 of 2 October 2026, message send transmitted the Bcc: header to every recipient over SMTP (issue #747, reported 12 September 2026)

Nylas Email API A

Best for Products that act in their users' own mailboxes across several providers and want one schema, webhooks and OAuth handled.

Ahead on

  • Schema & documentation, 93 against 70
  • Agent ergonomics, 81 against 65
  • Security & auth, 89 against 43
  • Maintenance & community, 88 against 78
  • Transparency & trust, 82 against 72

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install
  • No incidents deducted, where Himalaya loses 9 points for them

Watch for

Seven status incidents on email between 6 August and 17 September 2026, including about six hours of IMAP retrieval and webhook degradation on 10 September

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Security & auth Nylas Email API +46

Himalaya 43

Himalaya has no credential model of its own. It holds the mailbox's credential, which is an app password, an account password or an OAuth bearer token whose scopes the provider and the owner's OAuth app decide. Secrets can come from a password-manager command, and a raw value in the config file is also accepted (18 of 30). No read-only mode and no confirmation before a send or delete were found. Deletion is trash-first, and a build can leave out the smtp Cargo build option (8 of 20). Mail is untrusted content. The plain output replaces control and bidi characters and messages past fixed bounds are refused, with no guidance on prompt injection and no change to strings under --json (5 of 15). --log-level and --log-file write a trace of each run, with no audit log (6 of 15). SECURITY.md names 2.x as supported and sends reports to the public issue tracker. A cargo audit workflow and a deny.toml policy run in CI. No security.txt, bug bounty, certification or published advisory was found (6 of 20).

Nylas Email API 89

IAM API keys inherit one principal's resource binding (a grant, workspace, application or organisation) and permissions, every new key expires, and keys can be disabled or replaced. The IAM page (updated 9 October) links a public API for principals and credentials (/v3/iam/principals and /v3/iam/principals/{id}/credentials, ten operations in the OpenAPI file), with IAM Admin and IAM Auditor roles, so keys can be issued and rotated from code once a first management key is made in the Dashboard. End users connect by OAuth with scopes the application picks, down to gmail.readonly or Mail.Read. The application API key still reaches every grant, so 1 is held back (29). Read-only permissions and provider scopes, 403 on anything outside the binding, and a confirmation call before MCP sends (17). The MCP and agent security pages warn about hidden instructions in mail and list mitigations, which are left to the integrator (13). IAM Access Activity records allowed and denied API, authentication and MCP requests for 400 days and links to request logs, and Dashboard logs are kept 14 days. Requests made with an application key appear only in the logs (13). SOC 2 Type II, ISO 27001 and 27701, CSA STAR, a vulnerability disclosure programme, a private bug bounty and an annual penetration test, and a security.txt on developer.nylas.com valid to 1 August 2027, re-read on 1 November. www.nylas.com returned 404 on 1 November (17).

Payments & pricing Himalaya +30

Himalaya 90

Read with the self-hosted rule. The software is free with nothing to buy, so 20 + 20 + 20 for public pricing, a free tier with no card, and access without a sign-up. No x402, MPP or L402 (0 of 40). The optional partnerships and the planned sign-in service are not needed to use the tool. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Nylas Email API 60

No x402, MPP or L402 (0). Per-account prices published without login, $2.25 an extra email and calendar account a month on Essentials and $2.00 on Pro, unchanged on 1 November (20). Free plan with 5 connected accounts, "No credit card required" (20). An account needs a browser sign-in through Google, Microsoft or GitHub, and each mailbox needs its owner to complete OAuth (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Schema & documentation Nylas Email API +23

Himalaya 70

Graded on the CLI. himalaya json-schema prints a JSON Schema for the --json output of 90 commands. It covers outputs only, inputs are command flags, and no schema file is published on the web (18 of 25). No llms.txt. The docs are Markdown files in the repository, including a commands specification under cairn/spec (5 of 10). Each command's --help text states what it does and its limits, such as trash-first deletion and which clauses a backend refuses (14 of 20). Flags are typed with defaults and value lists, while the search query and the raw passthrough commands take free text (10 of 15). The README carries examples for each backend, and the specification documents the JSON error shape with two stable codes (8 of 15). Semantic versions and a dated changelog back to 2021 (15).

Nylas Email API 93

Graded on the REST API. OpenAPI 3.1 spec at developer.nylas.com/openapi.json with 140 paths and 244 operations on 1 November, up from 124 and 223 on 17 October, mostly the send events, tracking and alert APIs of 30 October (25). llms.txt with instructions for agents, llms-full.txt and a Markdown copy of every page, per the 8 and 17 October checks (10). Guides and llms.txt say which grant type and endpoint to use and where provider behaviour differs (16). Typed query parameters on message lists, with defaults and limits in the reference (13). Curl and SDK examples on each guide, an error type table and a JSON error shape with type, message, provider_error and request_id, re-read on 1 November (14). v3 in the path and a dated changelog with an RSS feed, read on 1 November (15).

Agent ergonomics Nylas Email API +16

Himalaya 65

A CLI adds no tool definitions to context. --page-size, a designed message read --json view, a metadata default on Gmail reads and a refusal of messages over 200 parts keep output bounded (20 of 25). --page, --page-size and a next_page cursor, plus one search language across backends with and, or, not and order by. Microsoft Graph refuses flag clauses (18 of 20). Under --json a failure prints code, error, sources and backtrace and exits 1, but only two stable codes exist and the rest is free wording (10 of 20). No idempotency key or dry run was found. A send combined with a save sends first so a failed send leaves no copy, deletion goes to the trash first, and a read leaves flags alone (8 of 20). Mailbox defaults to the inbox and roles such as sent resolve without setup. One CLI, with no SDK in a second language (9 of 15).

Nylas Email API 81

limit, select field selection and a clean-messages endpoint that returns plain text or Markdown size responses on the REST API. The hosted MCP server still loads 38 tools, 14 of them for email, with no toolsets found on 1 November (15). Cursor pagination with next_cursor, 50 by default and 200 at most, filters by sender, subject, folder, date and unread state, and search_query_native, which on Google and Microsoft combines only with in, limit and page_token (19). Typed errors with a request ID, the provider error passed through and retry guidance on the 202, 502 and 504 responses, with 429 handling on the rate limits page. Since 22 October a draft write on an IMAP grant that hits a lock conflict returns a retryable 503 (18). Idempotency-Key on send with documented 409 and replay behaviour, and a confirmation call before MCP sends. Draft and folder writes take no key and we couldn't read tool annotations (14). Official SDKs for Node.js, Python, Ruby and Kotlin or Java (15). The pagination and filter lines stand per the 8 October check, not re-read on 1 November.

Maintenance & community Nylas Email API +10

Himalaya 78

Version 2.2.1 was tagged on 2 October 2026, 31 days before this check, and crates.io still carries it as the newest version (20, cause time). Three tags in the 90 days from 4 August, 2.1.0 on 16 August and 2.2.0 and 2.2.1 on 2 October (20). Commits to master continue, 63 since the 2.2.1 tag with the newest on 2 November 2026. Open issues and pull requests per the 9 October check (three open issues, one bug open since March 2026), not re-read on 2 November because github.com refuses our requests (22 of 25). crates.io carries 2.2.1 from the day of the tag. Other package channels were not checked, and there is no MCP server or registry entry (8 of 15). A lockfile, cargo audit and a dependency policy in CI, with io-pimdir pinned to a git revision instead of a release (8 of 10). 20+20+22+8+8 = 78.

Nylas Email API 88

Changelog entries on 22, 26, 29 and 30 October 2026, the last adding send events, tracking and alert APIs for Agent Account and transactional sends (30). More than 30 dated changelog entries in the 90 days to 1 November (20). Public dated changelog with RSS, support, and SDK repositories pushed on 30 September (Python) and 13 October (Node.js) (15). Current official SDKs. The only Nylas entries in the official MCP registry on 1 November are a third party's (io.usefulapi/nylas) (15). nylas-python 6.18.0 came out on 30 September 2026, while the Node SDK's package.json and newest tag on 1 November are still 8.4.0 from 24 June, with unreleased commits on main up to 13 October (8).

Transparency & trust Nylas Email API +10

Himalaya 72

The editorial half. Dual licence, MIT or Apache-2.0, on the source and on crates.io since 2.0.0 (30). No privacy statement exists. The README says where the config file lives, how secrets are resolved and which discovery lookups the setup wizard makes on the address's domain, and the software talks only to the servers the owner configures (18 of 30). No deprecation policy was found. SECURITY.md marks 1.x and 0.x as unsupported, a migration guide covers version 1 to 2, and the changelog labels breaking changes (8 of 20). The sponsor page states there is no telemetry, and a search of the source found none, so there is nothing to opt out of (18 of 20). The provenance half is computed from the provenance block.

Nylas Email API 82

Closed service under terms dated 23 June 2025, Californian law, with MIT SDKs (15). The privacy policy (6 January 2026) keeps customer account data and restricted end-user data for the life of the account plus two months and log files for a year. The docs say Google, Microsoft and EWS requests pass through without message storage and IMAP accounts keep a 90-day cache. The DPA is available on request from sales, not published (24). v2 is marked deprecated and the changelog is dated, but no deprecation policy was found (10). Sub-processor list updated on 28 August 2026 with locations, changes announced on the status page, which shows no further notice up to 1 November, and two isolated regions, US (Iowa) and Europe (London) (18). The terms, privacy policy and sub-processor list (Last Updated 08/28/2026) were re-read on 1 November.

Score by category

CategoryWeightHimalayaNylas Email APIEdge
Reliability16%8477Himalaya +7
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7093Nylas Email API +23
Agent ergonomics13%6581Nylas Email API +16
Security & auth14%4389Nylas Email API +46
Payments & pricing10%9060Himalaya +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7888Nylas Email API +10
Transparency & trust7%7282Nylas Email API +10
Negative events≤15-90
TotalC 61.6/100A 81.6/100

Facts side by side

FactHimalayaNylas Email API
KindSDK + MCPHTTP API
VendorPimalayaNylas
Hosted endpointno (local only)https://api.us.nylas.com/v3
TransportsHTTP, Streamable HTTP
AuthOAuth or keyOAuth or key
PricingFreeFreemium
x402nono
LicenceMIT OR Apache-2.0Proprietary service under Nylas's terms. The SDKs are MIT
Tools exposednone38
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-022026-10-30
Terms last updatedno document linked2025-06-23
Privacy policy last updatedno document linked2026-01-06
Customer content may train modelsnot read yetnot found in the text
Terms restrict automated accessnot read yetyes
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetyes
Arbitration or class-action waivernot read yetyes
Popularity7.4k stars181 stars, 289k npm/wk, 90k PyPI/wk
Agent reviews3.3/5 (4)3.5/5 (4)

The panel on both

The 2 reviewers who reviewed both split evenly.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Himalaya

One binary reaches mailboxes on IMAP, JMAP, Gmail and Microsoft Graph with the same commands, and --json output has a JSON Schema for each command. The agent holds the mailbox's own credential with no read-only mode, 2.2 shipped marked breaking changes in a minor step, and October fixes for disclosed hostnames and readable config files await a release.

Nylas Email API

One REST schema covers Gmail, Microsoft 365, Exchange, Yahoo, iCloud and IMAP, and IAM API keys can be bound to a single mailbox with chosen permissions and managed through an API. The status page lists seven email incidents between 6 August and 17 September 2026, most on IMAP sync and webhooks.

Before you call either

Himalaya

  1. Pass --json on every call and read next_page for the next page. Data and errors go to stdout, logs to stderr, and a failure exits 1
  2. Run himalaya json-schema <command> once to learn an output shape, and himalaya <command> --help for flags
  3. Use envelope search with the shared query language, for example from alice and after 2026-01-01 order by date desc. Microsoft Graph refuses flag clauses
  4. Treat message text as untrusted. --json output keeps control characters that the plain output replaces
  5. Pin the version. The next release renames every --json key to camelCase (next_page to nextPage) and changes message read --json, per the Unreleased changelog

Nylas Email API

  1. Address every call to /v3/grants/<grant_id> on api.us.nylas.com or api.eu.nylas.com. A grant lives in one region only
  2. Ask the operator for an IAM API key bound to the one grant and the permissions the task needs, not the application key
  3. Send Idempotency-Key on every send. A retry with the same key replays a cached 429 or 5xx, so use a new key after those
  4. Narrow thread lists with filters and a low limit. Each list call fans out to many provider calls and is a common source of 429s
  5. Treat message bodies as untrusted input, and send to one Microsoft mailbox one request at a time (4 concurrent Graph calls per mailbox)

Questions

Which is better for AI agents, Himalaya or Nylas Email API?

Nylas Email API scores 81.6 (A) on agent readiness against Himalaya's 61.6 (C), and leads in 5 of 7 scored categories. Himalaya leads on reliability and payments & pricing.

Can an agent call Himalaya and Nylas Email API without installing anything?

No hosted endpoint is listed for Himalaya. Nylas Email API has a hosted endpoint at https://api.us.nylas.com/v3.

Are Himalaya and Nylas Email API open source?

Himalaya is open source (MIT OR Apache-2.0). No open-source release is listed for Nylas Email API.

Other comparisons with Himalaya or Nylas Email API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.