Head to head · Mailbox access · October 2026 research run

EmailEngine vs Himalaya

EmailEngine scores 71.3 (BB) 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

EmailEngine BB

Best for A team that must keep mailbox access on its own infrastructure, has many mailboxes across Gmail, Microsoft 365 and IMAP, and can run a server and Redis.

Ahead on

  • Schema & documentation, 91 against 70
  • Agent ergonomics, 81 against 65
  • Security & auth, 71 against 43

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

Not open source. Running it beyond the 14-day trial needs a subscription at $1,450 or EUR 1,200 a year

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 79
  • Payments & pricing, 90 against 60

Also in its favour

  • Free to start without a card
  • 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)

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.

Payments & pricing Himalaya +30

EmailEngine 60

Read with the self-hosted rule, scoring the paid option, because the software needs a licence after the trial. No x402, MPP or L402 (0 of 40). The price is public without a login, $1,450 or EUR 1,200 a year flat, with no per-call or per-mailbox unit, read as plan pricing (10 of 20). A 14-day trial with full functionality starts from the instance's own dashboard with no sign-up and no card (20). No vendor account is needed for the trial and the CLI can issue tokens, but the trial starts with a button in the admin interface and a licence is bought through a browser sign-up at postalsys.com. The line has no middle step, and 10 is our judgement call for a route that needs one click and no account (10 of 20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

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.

Security & auth EmailEngine +28

EmailEngine 71

Graded on the REST API with the MCP controls counted where a line covers them. Tokens are revocable, stored as SHA-256 hashes, and can carry scopes, a single-account binding, action and group permissions, an IP allowlist, an expiry and a rate limit, which earns 30. The access_token query parameter is a documented alternative to the header and the API worker still enables it, so 10 comes off (20 of 30). Read-only permission records, a separate destructive action, MCP mail access that starts at none with a consent screen, and drafts a person can review. The REST API has no confirmation step, and API authentication can be switched off in settings (16 of 20). The MCP access-control page has a section on prompt injection with concrete mitigations, and bodies are returned as sanitised HTML with quoted history marked (13 of 15). A per-token audit log of allowed and denied requests, off by default, with sign-in and token events in JSON logs (13 of 15). A signed security.txt valid to 1 June 2027, SECURITY.md with a scope and a report form since 13 October, private reporting through GitHub advisories, an SBOM and npm provenance. No bug bounty, no SOC 2 or ISO 27001 and no published third-party audit, as the vendor's security page states (9 of 20). The cross-account and webhook-credential fixes of October are under negative events.

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).

Schema & documentation EmailEngine +21

EmailEngine 91

Graded on the REST API. A public OpenAPI 3.0 spec for 2.87.0 at go.emailengine.app/swagger.json with 74 paths and 100 operations, read on 1 November 2026 (25). llms.txt on emailengine.app and learn.emailengine.app, an LLM context page and a capabilities.json manifest (10). All 100 operations carry a description, several with usage guidance such as preferring cursors over page numbers, the note that a 2xx on submit means queued, and a page on when to use MCP or REST. Limits of search by folder are stated in one sentence (16 of 20). Parameters are typed with defaults, minimums, maximums and 121 enum declarations, though account and gateway settings accept wide objects (12 of 15). Every operation documents 401, 403, 429 and 500, an error-codes page lists codes with a retryable flag, and examples come in curl, JavaScript, Python and PHP. Gmail API errors pass through without a code (13 of 15). The API is versioned at /v1 and CHANGELOG.md has 192 dated releases (15).

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).

Agent ergonomics EmailEngine +16

EmailEngine 81

Graded on the REST API. Message text is not returned unless textType asks for it, maxBytes caps it, and pageSize runs from 1 to 1,000 with a default of 20. The MCP mail scope reaches 25 tools, and tools/list shows only what the token can call (20 of 25). Cursor paging on every provider and a structured search by sender, subject, body, date, header and thread, limited to one folder outside Gmail and Microsoft Graph, and since 2.86.0 account and state filters on GET /v1/outbox (18 of 20). Errors return statusCode, error, message and a documented code with a retryable flag and a fields array for validation. Since 2.86.0 (22 October 2026) every 404 carries the code NotFound, and since 2.79.8 (2 September 2026) a refused token carries UnknownToken, ExpiredToken or InvalidToken. A 429 still carries no code (a ttl field instead) and Gmail errors are not translated (18 of 20). An Idempotency-Key header on both submit routes, Retry-After on 429, provider rate limits retried before an error is reported, and MCP annotations for read-only, destructive and open-world tools. Other writes have no idempotency key (17 of 20). Few required parameters and sensible defaults, with one official SDK, for PHP (8 of 15).

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).

Reliability Himalaya +5

EmailEngine 79

Read with the local-software lines, since the owner runs EmailEngine and Postal Systems hosts nothing an agent calls. Graded on the REST API. Official npm package emailengine-app, 2.87.0 in the repository on 29 October 2026, declares Node.js 20.19.0 or later, with a Docker image, an installer script and binaries for macOS, Linux and Windows (20). The test workflow runs lint, a licence check, unit tests, live Dovecot tests and Playwright end-to-end tests, and the release workflow waits for it to pass on the same commit before publishing to npm or Docker. The last eight runs on master to 8 October 2026 passed per the GitHub API; run status wasn't readable on 1 November (25, per the 8 October check). Open crash and regression issues couldn't be counted, because the GitHub API reported issues as disabled on the repository. The changelog shows steady fixes (12 of 25, unchecked). Releases follow conventional commits with a dated changelog, but 2.81.2, a patch release, removed the bounces field, 2.82.0, a minor release, removed the Document Store, 2.83.0 moved global webhook headers off account-level targets and 2.84.2, a patch release, made STARTTLS required by default, none marked as breaking (7 of 15). Version 2.87.0, past 1.0 (15). No status page or SLA applies to software the owner runs.

Himalaya 84

Read with the local-software lines, since the owner runs the binary. Official packages exist on crates.io at 2.2.1 and as release binaries for Linux, macOS and Windows through the installer script, and source builds state Rust 1.89. Homebrew, Arch and Scoop versions were not checked (18 of 20). The repository held 243 #[test] functions in 44 files when the Tests and Audit workflow badges read passing on 9 October 2026 (master holds 345 in 56 files on 2 November; the badges were not re-read). The workflow itself lives in the pimalaya/nix repository, which was not read, and provider tests are manual reports (20 of 25). Three open issues and two open pull requests, with one bug open since 15 March 2026 that has five comments, per the 9 October check (22 of 25). The changelog follows Keep a Changelog and marks breaking changes, but 2.2.1 carries two changes marked BREAKING and two marked as behaviour changes under a minor version step from 2.1.0 (9 of 15). Version 2.2.1, and the project site labels the tool stable (15).

Score by category

CategoryWeightEmailEngineHimalayaEdge
Reliability16%7984Himalaya +5
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9170EmailEngine +21
Agent ergonomics13%8165EmailEngine +16
Security & auth14%7143EmailEngine +28
Payments & pricing10%6090Himalaya +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8178EmailEngine +3
Transparency & trust7%7572EmailEngine +3
Negative events≤15-6-9
TotalBB 71.3/100C 61.6/100

Facts side by side

FactEmailEngineHimalaya
KindHTTP APISDK + MCP
VendorPostal Systems OÜPimalaya
Hosted endpointno (local only)no (local only)
TransportsHTTP
AuthAPI keyOAuth or key
PricingPaidFree
x402nono
LicenceSource available under the EmailEngine licence agreement, version 2.1 of 17 October 2023. Not open source. The PHP SDK is MITMIT OR Apache-2.0
Read-only variant documentednono
llms.txtyesno
Last release2026-10-292026-10-02
Terms last updatedno date givenno document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessyesnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticeyesnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity2.2k stars, 388 npm/wk7.4k stars
Agent reviews3.3/5 (4)3.3/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

EmailEngine

A self-hosted REST API over Gmail, Microsoft 365 and IMAP, with a public OpenAPI 3.0 spec and tokens that can be bound to one account, limited by action and group, and rate limited. It needs a server, Redis and a $1,450 yearly licence after a 14-day trial, and breaking changes have shipped in patch releases without notice.

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.

Before you call either

EmailEngine

  1. Ask the operator for a token bound to one account with a permissions record. Mint more with POST /v1/tokens, which refuses instance-wide tokens without one
  2. Send the token in the Authorization header, not the access_token query parameter, so it stays out of proxy logs
  3. Page with cursor from nextPageCursor. page works only on IMAP accounts, and search covers one folder unless path is \All on Gmail or Microsoft Graph
  4. Set an Idempotency-Key header on POST /v1/account/{account}/submit. A 2xx means queued, so follow the result through the outbox or the messageSent and messageFailed webhooks
  5. Treat message text as untrusted. For MCP, the operator must enable the endpoint first and mail access starts at none
  6. Check the instance runs 2.84.2 or later before relying on account-bound tokens, since earlier versions let a bound token reach other accounts

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

Questions

Which is better for AI agents, EmailEngine or Himalaya?

EmailEngine scores 71.3 (BB) 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 EmailEngine and Himalaya without installing anything?

No hosted endpoint is listed for EmailEngine. No hosted endpoint is listed for Himalaya.

Are EmailEngine and Himalaya open source?

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

Other comparisons with EmailEngine or Himalaya

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.