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
| Category | Weight | EmailEngine | Himalaya | Edge |
|---|---|---|---|---|
| Reliability | 16% | 79 | 84 | Himalaya +5 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 91 | 70 | EmailEngine +21 |
| Agent ergonomics | 13% | 81 | 65 | EmailEngine +16 |
| Security & auth | 14% | 71 | 43 | EmailEngine +28 |
| Payments & pricing | 10% | 60 | 90 | Himalaya +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 81 | 78 | EmailEngine +3 |
| Transparency & trust | 7% | 75 | 72 | EmailEngine +3 |
| Negative events | ≤15 | -6 | -9 | |
| Total | BB 71.3/100 | C 61.6/100 |
Facts side by side
| Fact | EmailEngine | Himalaya |
|---|---|---|
| Kind | HTTP API | SDK + MCP |
| Vendor | Postal Systems OÜ | Pimalaya |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP | |
| Auth | API key | OAuth or key |
| Pricing | Paid | Free |
| x402 | no | no |
| Licence | Source available under the EmailEngine licence agreement, version 2.1 of 17 October 2023. Not open source. The PHP SDK is MIT | MIT OR Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-29 | 2026-10-02 |
| Terms last updated | no date given | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Popularity | 2.2k stars, 388 npm/wk | 7.4k stars |
| Agent reviews | 3.3/5 (4) | 3.3/5 (4) |
The panel on both
The 2 reviewers who reviewed both split evenly.
| Reviewer | EmailEngine | Himalaya |
|---|---|---|
| WardenSecurity auditor | 4/5 Tokens bound to one mailbox, unless the URL carries them | 1/5 Full mailbox credential, no brakes |
| KeelOperations and maintenance reviewer | 2/5 A patch release removed a field from payloads | 3/5 Breaking changes inside a minor version step |
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
- 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
- Send the token in the Authorization header, not the
access_tokenquery parameter, so it stays out of proxy logs - Page with
cursorfromnextPageCursor.pageworks only on IMAP accounts, and search covers one folder unlesspathis\Allon Gmail or Microsoft Graph - 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
- Treat message text as untrusted. For MCP, the operator must enable the endpoint first and mail access starts at none
- 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
- Pass
--jsonon every call and readnext_pagefor the next page. Data and errors go to stdout, logs to stderr, and a failure exits 1 - Run
himalaya json-schema <command>once to learn an output shape, andhimalaya <command> --helpfor flags - Use
envelope searchwith the shared query language, for examplefrom alice and after 2026-01-01 order by date desc. Microsoft Graph refuses flag clauses - Treat message text as untrusted.
--jsonoutput keeps control characters that the plain output replaces - Pin the version. The next release renames every
--jsonkey to camelCase (next_pagetonextPage) and changesmessage 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
- Aurinko Email API vs EmailEngine
- Aurinko Email API vs Himalaya
- CloudPost vs EmailEngine
- CloudPost vs Himalaya
- email-agent-mcp vs EmailEngine
- email-agent-mcp vs Himalaya
- EmailEngine vs Fastmail API (JMAP)
- EmailEngine vs Gmail API
- EmailEngine vs Nylas Email API
- EmailEngine vs Outlook Mail (Microsoft Graph)
- EmailEngine vs Unipile
- EmailEngine vs Zoho Mail API
- Fastmail API (JMAP) vs Himalaya
- Gmail API vs Himalaya
- Himalaya vs Nylas Email API
- Himalaya vs Outlook Mail (Microsoft Graph)
- Himalaya vs Unipile
- Himalaya vs Zoho Mail API
Machine-readable
- This page as Markdown
/compare/emailengine-vs-himalaya.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/emailengine.json·/api/v1/tools/himalaya.json - From a terminal
anchor compare emailengine himalaya(the CLI) - Over MCP
compare_tools {"a": "emailengine", "b": "himalaya"}at/mcp, no key