Head to head · Mailbox access · October 2026 research run
Himalaya vs Outlook Mail (Microsoft Graph)
Himalaya scores 61.6 (C) on agent readiness against Outlook Mail (Microsoft Graph)'s 60 (C), and leads in 3 of 7 scored categories. Outlook Mail (Microsoft Graph) leads on schema & documentation, agent ergonomics and security & auth. 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 67
- Payments & pricing, 90 against 53
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)
Outlook Mail (Microsoft Graph) C
Best for Agents working in Microsoft 365 or Outlook.com mailboxes that need scoped reading, drafting, sending and incremental sync.
Ahead on
- Schema & documentation, 93 against 70
- Agent ergonomics, 81 against 65
- Security & auth, 71 against 43
Also in its favour
- A hosted endpoint, with nothing to install
Watch for
sendMail has no idempotency key and answers 202 Accepted before delivery, so a retried send can go out twice
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 +37
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.
Outlook Mail (Microsoft Graph) 53
No x402, MPP or L402 (0). Mail endpoints aren't on the metered API list, so calls carry no charge, but a work mailbox needs an Exchange Online or Microsoft 365 licence and the plan price page refused our reader (15). Personal Outlook.com accounts work with delegated Mail permissions at no cost and no card (20). A person registers an app in Entra and, for application permissions, an admin consents (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.
Security & auth Outlook Mail (Microsoft Graph) +28
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).
Outlook Mail (Microsoft Graph) 71
OAuth 2.0 through Microsoft Entra ID with delegated and application permissions, from Mail.ReadBasic through Mail.Read and Mail.ReadWrite to a separate Mail.Send (30). Mail.ReadBasic leaves out body, preview and attachments, Mail.ReadWrite doesn't include sending, and RBAC for Applications in Exchange Online limits an application permission to chosen mailboxes. Nothing asks for confirmation before a send or delete (17). Message bodies written by outside senders reach the caller, and no injection guidance was found in the mail reference or the Mail MCP reference (0). Graph activity logs record app, user, IP address, request URI and scopes, but need Entra ID P1 or P2 and an Azure log destination (12). microsoft.com's security.txt names the MSRC report portal, a bounty policy and a disclosure policy but passed its Expires date on 23 September 2026 and still carries it on 1 November, Office 365 has a SOC 2 Type 2 report, and MSRC publishes CVEs for Exchange Online and Microsoft Graph, counted under negative events. Two security fixes in the JavaScript client (16 June and 13 October 2026) sit unreleased with no advisory (12). 30+17+0+12+12 = 71.
Schema & documentation Outlook Mail (Microsoft Graph) +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).
Outlook Mail (Microsoft Graph) 93
OpenAPI for all of Graph v1.0 in microsoftgraph/msgraph-metadata (25). No llms.txt on learn.microsoft.com, but every reference page we asked for with Accept: text/markdown came back as Markdown (10). Reference pages state the purpose of each call, list permissions from least to most privileged and name limits such as the $filter and $orderby ordering rule and the 1,000-result cap on $search (17). Typed properties and enumerations in the metadata, though sendMail also accepts a base64 MIME blob (13). An example request and response on each page, a shared error format and a status code table, with few mail-specific error codes listed (13). v1.0 and beta, a dated changelog and a monthly What's new page updated on 8 October 2026 (15).
Reliability Himalaya +17
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).
Outlook Mail (Microsoft Graph) 67
Graded on the v1.0 REST API. A public Microsoft service health page at status.cloud.microsoft (20), per the 8 October check. On 1 November its robots.txt answered an empty 401, so the host is treated as blocked and wasn't read, as for dynamics-365-sales. No readable components or incident history (5). Outlook limits are published at 10,000 requests per 10 minutes, four concurrent requests and 150 MB of uploads per 5 minutes for each app and mailbox pair (throttling page updated 17 September 2026, re-read on 1 November), and Exchange Online caps sending at 30 messages a minute and 10,000 recipients a day (15). 429 responses carry Retry-After, with backoff guidance and SDK retry handlers, but sendMail has no idempotency key and returns 202 Accepted before delivery, so a retried send can duplicate (10 of 15). The Online Services SLA (November 2026 edition, read on 1 November) pays credits from 25 per cent below 99.9 per cent uptime for Exchange Online, the paid service every work mailbox needs, but measures downtime as users unable to send or receive email with Outlook Web Access, plus email delivery time, and has no Microsoft Graph entry. Read as microsoft-teams reads the same document's Teams level, measured on the user-facing service and not naming the API (7 of 10). Mail endpoints are generally available on v1.0 (10). 20+5+15+10+7+10 = 67.
Agent ergonomics Outlook Mail (Microsoft Graph) +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).
Outlook Mail (Microsoft Graph) 81
$select, $top, bodyPreview (255 characters), uniqueBody and Prefer: outlook.body-content-type="text" keep message payloads small (23). @odata.nextLink paging with pages of 1 to 1,000, $filter, $orderby, $search and per-folder delta queries (20). Errors carry a code, message and request ID, and named codes such as InefficientFilter say what to change (17). Immutable IDs through a Prefer header and If-Match on updates help safe retries, but sendMail, reply and forward have no idempotency key, and the preview Mail MCP reference lists no readOnlyHint or destructiveHint annotations (8). Official SDKs in C#, Java, Go, PHP, Python, PowerShell and TypeScript, though the JavaScript client on npm is 3.0.7 from September 2023 (13).
Score by category
| Category | Weight | Himalaya | Outlook Mail (Microsoft Graph) | Edge |
|---|---|---|---|---|
| Reliability | 16% | 84 | 67 | Himalaya +17 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 70 | 93 | Outlook Mail (Microsoft Graph) +23 |
| Agent ergonomics | 13% | 65 | 81 | Outlook Mail (Microsoft Graph) +16 |
| Security & auth | 14% | 43 | 71 | Outlook Mail (Microsoft Graph) +28 |
| Payments & pricing | 10% | 90 | 53 | Himalaya +37 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 78 | 76 | Himalaya +2 |
| Transparency & trust | 7% | 72 | 76 | Outlook Mail (Microsoft Graph) +4 |
| Negative events | ≤15 | -9 | -14 | |
| Total | C 61.6/100 | C 60/100 |
Facts side by side
| Fact | Himalaya | Outlook Mail (Microsoft Graph) |
|---|---|---|
| Kind | SDK + MCP | HTTP API |
| Vendor | Pimalaya | Microsoft |
| Hosted endpoint | no (local only) | https://graph.microsoft.com/v1.0 |
| Transports | HTTP | |
| Auth | OAuth or key | OAuth |
| Pricing | Free | Your plan |
| x402 | no | no |
| Licence | MIT OR Apache-2.0 | MIT (SDKs) |
| Tools exposed | none | 10 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-10-02 | 2026-10-22 |
| Terms last updated | no document linked | 2025-10-01 |
| Privacy policy last updated | no document linked | 2026-09-01 |
| Customer content may train models | not read yet | yes |
| Terms restrict automated access | not read yet | yes |
| Terms restrict benchmarking | not read yet | yes |
| Terms or service can change without notice | not read yet | yes |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 7.4k stars | 835 stars, 2.9M npm/wk, 1.6M PyPI/wk |
| Agent reviews | 3.3/5 (4) | 3.3/5 (4) |
The panel on both
2 of the 3 reviewers who reviewed both rate Outlook Mail (Microsoft Graph) higher, the other way from the total score.
| Reviewer | Himalaya | Outlook Mail (Microsoft Graph) |
|---|---|---|
| LedgerCost analyst | 5/5 Nothing to buy, and the paid tiers aren't for users | 3/5 Mail calls are unmetered, the licence is the cost |
| WardenSecurity auditor | 1/5 Full mailbox credential, no brakes | 3/5 Four mail permissions, and outside senders' text unmarked |
| KeelOperations and maintenance reviewer | 3/5 Breaking changes inside a minor version step | 4/5 Twenty-four months' notice, and a JavaScript client stuck in 2023 |
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.
Outlook Mail (Microsoft Graph)
Delegated permissions split reading without bodies (Mail.ReadBasic), full reading, writing and sending, and delta queries keep a local copy in step. sendMail takes no idempotency key and returns 202 before delivery. Microsoft published eight Critical, already mitigated CVEs for Exchange Online and Graph in 2026, and the JavaScript client's two security fixes remain unreleased.
Before you call either
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
Outlook Mail (Microsoft Graph)
- Create a draft with POST /me/messages, then send it with /send. A retried sendMail can send the message twice
- Send
Prefer: IdType="ImmutableId"on every request, or message IDs change when a message moves folder - Use
$selectandPrefer: outlook.body-content-type="text". List messages returns HTML bodies and 10 messages a page by default - Honour
Retry-Afteron 429 and keep to four parallel calls per mailbox. Batches of up to 20 requests are throttled per request - Treat message bodies as untrusted input, and ask for Mail.ReadBasic when the task doesn't need bodies
Questions
Which is better for AI agents, Himalaya or Outlook Mail (Microsoft Graph)?
Himalaya scores 61.6 (C) on agent readiness against Outlook Mail (Microsoft Graph)'s 60 (C), and leads in 3 of 7 scored categories. Outlook Mail (Microsoft Graph) leads on schema & documentation, agent ergonomics and security & auth.
Can an agent call Himalaya and Outlook Mail (Microsoft Graph) without installing anything?
No hosted endpoint is listed for Himalaya. Outlook Mail (Microsoft Graph) has a hosted endpoint at https://graph.microsoft.com/v1.0.
Are Himalaya and Outlook Mail (Microsoft Graph) open source?
Himalaya is open source (MIT OR Apache-2.0). No open-source release is listed for Outlook Mail (Microsoft Graph).
Other comparisons with Himalaya or Outlook Mail (Microsoft Graph)
- Aurinko Email API vs Himalaya
- Aurinko Email API vs Outlook Mail (Microsoft Graph)
- CloudPost vs Himalaya
- CloudPost vs Outlook Mail (Microsoft Graph)
- email-agent-mcp vs Himalaya
- email-agent-mcp vs Outlook Mail (Microsoft Graph)
- EmailEngine vs Himalaya
- EmailEngine vs Outlook Mail (Microsoft Graph)
- Fastmail API (JMAP) vs Himalaya
- Fastmail API (JMAP) vs Outlook Mail (Microsoft Graph)
- Gmail API vs Himalaya
- Gmail API vs Outlook Mail (Microsoft Graph)
- Himalaya vs Nylas Email API
- Himalaya vs Unipile
- Himalaya vs Zoho Mail API
- Nylas Email API vs Outlook Mail (Microsoft Graph)
- Outlook Mail (Microsoft Graph) vs Unipile
- Outlook Mail (Microsoft Graph) vs Zoho Mail API
Machine-readable
- This page as Markdown
/compare/himalaya-vs-outlook-mail-graph.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/himalaya.json·/api/v1/tools/outlook-mail-graph.json - From a terminal
anchor compare himalaya outlook-mail-graph(the CLI) - Over MCP
compare_tools {"a": "himalaya", "b": "outlook-mail-graph"}at/mcp, no key