Email MCP servers and CLIs compared
Compare Mail with Himalaya, mu, gog and other mail tools: IMAP sync, search, organising, sending, OAuth sign-in for Outlook and Gmail, and agent safety.
mail is a command line and an MCP server that copies your mailbox over IMAP into the shared WireCat store on your
computer, searches it, and organises the mailbox on the server. This page puts it next to the other mail command lines
and MCP servers, so you can see which one fits your job. The marks for mail come from its documentation and source for
release 0.17.0, checked on 6 November 2026. The
marks for the other tools come from their own READMEs and documentation, checked on 28 October 2026. Sign-in, sync and
sending of mail were also run against a real Outlook.com mailbox on 2 November 2026. Nothing else was logged in to or
tested against a real mailbox, and a tool may do more than its pages say.
The tools:
- mail: this tool. Copies a mailbox over IMAP into the shared store, searches and reads it, and organises the mailbox on the server (flags, moves, Trash, folders, drafts), and sends mail over SMTP. memo searches the same mail together with your chats and notes.
- Himalaya: a Rust command line for mail over IMAP, SMTP, JMAP, Gmail, Microsoft Graph, Maildir and mbox (v2.2.1, 2 October 2026).
- mu: indexes a Maildir into a search database, with a fast search command line (v1.14.4, 14 October 2026).
- gog: one command line for Gmail, Calendar, Drive and more, built for agents, with an MCP server (v0.47.1, 27 October 2026).
- Google Workspace MCP: an MCP server for 12 Google services, 15 of its tools for Gmail (v2.2.1, 27 October 2026).
- Microsoft 365 MCP: an MCP server for Microsoft Graph, with Outlook mail among 300 or more tools (v0.176.0, 28 October 2026).
NeoMutt is not in the table: it is a mail program for a person at a terminal, and its pages say little about agents. It is named below.
✅ yes · 🟡 partly · ❌ no · ➖ not in its documentation · n/a does not apply
Features
| Task | Himalaya | mu | gog | Workspace MCP | Microsoft 365 MCP | |
|---|---|---|---|---|---|---|
| Read and search | ||||||
| Search by sender, date and words in one query | ✅ | ✅ | ✅ | ✅ | ✅ | ➖ |
| Search the mail server for mail not copied yet | ✅¹ | ✅ | ❌ | ✅ | ✅ | ➖ |
| Read a whole conversation at once | ✅ | ➖ | ✅ | ✅ | ✅ | ➖ |
| Read and search with no internet | ✅ | 🟡 | ✅ | ➖ | ➖ | ➖ |
| Find a message with an attachment and save the file | ✅² | ✅ | ✅ | ✅ | ✅ | ✅ |
| Keep a copy | ||||||
| Keep mail in one store with chats, meetings and notes, and search them together | ✅³ | ➖ | ➖ | ➖ | ➖ | ➖ |
| Organise | ||||||
| Move, archive, flag or delete a message | ✅⁴ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Undo a change the tool made | ✅⁴ | ➖ | ➖ | ➖ | ➖ | ➖ |
| Create, rename and delete folders | ✅ | ✅ | ➖ | ➖ | ➖ | ➖ |
| Tag or label messages | 🟡⁵ | 🟡 | ✅ | ✅ | ✅ | ➖ |
| Sort new mail with rules you can export and review | ✅ | 🟡 | ➖ | ✅ | ✅ | ✅ |
| Reply and send | ||||||
| Keep a draft without sending it | ✅⁶ | ✅ | ➖ | ✅ | ✅ | ✅ |
| Send, reply or forward | ✅⁷ | ✅ | 🟡 | ✅ | ✅ | ✅ |
| Mailboxes and providers | ||||||
| Any IMAP mailbox that offers app passwords (Yandex, iCloud, Fastmail, your own server) | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
| Gmail with its labels | ✅⁸ | ✅ | 🟡 | ✅ | ✅ | n/a |
| Outlook and Microsoft 365 | ✅⁹ | 🟡 | ➖ | n/a | n/a | ✅ |
| Use JMAP or Microsoft Graph instead of IMAP | ❌¹² | ✅ | ➖ | n/a | n/a | n/a |
| Agents and safety | ||||||
| An agent can read mail but not send or change it | ✅¹⁰ | ➖ | ➖ | ✅ | ✅ | ✅ |
| Allow or deny single commands for an agent | ✅ | ➖ | ➖ | ✅ | ✅ | ✅ |
| Show what a deletion or a big change would touch, and ask before it runs | ✅¹¹ | ➖ | ➖ | ✅ | ➖ | ➖ |
| Tell the agent that mail text is data, not instructions | ✅ | ➖ | ➖ | ✅ | ➖ | ➖ |
| MCP server | ✅ | ➖ | ➖ | ✅ | ✅ | ✅ |
| Setup | ||||||
| Start from just an address, with no cloud app to register first | ✅⁹ | ✅ | ➖ | ❌ | ❌ | ✅ |
| Sign in with OAuth | ✅⁹ | 🟡 | ➖ | ✅ | ✅ | ✅ |
| Requirement | Himalaya | mu | gog | Workspace MCP | Microsoft 365 MCP | |
|---|---|---|---|---|---|---|
| Install | npm, Node 22.16 or later | brew, cargo or a release file | distro package or meson build | brew or go install | uvx | npx |
| Licence | Apache-2.0 | Apache-2.0 | GPL-3.0 | MIT | MIT | MIT |
¹ search messages asks the mail server too (--backend archive|server|both, default both). Gmail is searched in
All Mail with Gmail's own syntax. Other servers are searched with IMAP SEARCH in INBOX, Sent and Archive, or the
profile's folders. What the server finds is stored, and each hit says where it was found. --offline keeps to the
store.
² attachments list and attachments download read the files of one email from the server and save them readable
by you only. mail also finds mail by the text inside attachments.
³ The store is shared with the other WireCat tools. mail searches its own mailbox; memo searches
every mailbox together with chats and notes.
⁴ Flags, moves, copies and folders change the mailbox on the server. A deletion moves mail to Trash and never expunges
it. messages restore --run <id> undoes a run, last step first, as long as the provider has not emptied Trash;
mail doctor warns when that is close on Gmail. --write <id> undoes one write of a run and leaves the others. A
deletion, a change chosen by a query, and a change of more than 20 messages are shown as a preview first and run only
with --yes.
⁵ mail tags stored mail and conversations with your own tags. They stay in the local store and never reach the
server. Flags and keywords on the server are changed with messages update --flag, and Gmail labels with
messages move and copy.
⁶ Drafts are saved in the mailbox's own Drafts folder, so you can check and send one from any mail app. There are no
templates. drafts send sends a saved draft.
⁷ messages send, messages forward and --reply-to send over the provider's SMTP server with the same app
password. Mail to anyone but you asks first, each recipient counts toward an hourly limit (30 by default), and a
copy goes to Sent and into the store. --file refuses credential and WireCat folders unless the owner passes
--allow-any-file.
⁸ mail reads All Mail in Gmail. Since 0.22.0, session start --method oauth signs a new Gmail profile in with
WireCat's Google app, and nothing has to be made first. Without --method oauth, a new Gmail profile still uses an app
password. Until Google finishes reviewing WireCat's app, it may show an "unverified app" screen and lets 100 new users
in, shared with gcal and drive. A Google app you create yourself
(steps) or an app password also works.
⁹ Outlook.com and Microsoft 365 take only OAuth for IMAP and SMTP. mail session start opens the browser, you sign in
and approve access, and no password is typed. WireCat's Microsoft app is built in, so there is nothing to register
(steps). Sign-in, sync and sending were run against a real Outlook.com mailbox. A Microsoft 365 work
account was not tried: its admin may have to allow the app, and sending needs "Authenticated SMTP" on for the mailbox.
Outlook.com also needs IMAP turned on in its settings. Gmail over OAuth may need your own Google app (note 8).
¹⁰ Over MCP, mail changes the mailbox only when the server is started with --allow-writes, and then only within the
profile's permissions. An agent over MCP mails only you until the owner sets permissions.messages.send.others, and it
cannot change the mail servers, the login or that key. MAIL_READ_ONLY=1 refuses every change.
¹¹ A deletion, deleting a folder that holds mail, and a change of many messages ask by default, and deny forbids
them. Without --yes they answer with a preview and the command to repeat. Over MCP there is no one to answer an
ask, so ask lets the command run; deny still refuses. --dry-run previews any command.
¹² mail reads IMAP only: no JMAP, no Microsoft Graph, no Sieve filters on the server, no PGP.
Notes on the Himalaya column: its marks come from its README, and from the read only --help of v2.2.1. Nothing was
run against a mailbox. It has no OAuth sign-in of its own: its README says v2 "ships no OAuth flow" and points to a
separate token helper (ortie), which supplies the token for Outlook, Microsoft Graph and Gmail, so those marks are 🟡.
Its pages name no read only mode, no command allowlist and no MCP server. Its mbox and Maildir
support is a backend; its pages name no command that exports a mailbox to them.
Notes on the mail column:
- Changes. Each change run keeps, in a private file, what it needs to undo itself: the folder, UID, flags, Gmail labels and Message-ID of each message, never a subject or a body. Each attempt goes into the send journal.
- Scheduled sync.
schedule command <name> --every 5m -- synckeeps the store current from the system's timer.syncreads INBOX and Sent by default. - Export.
messages exportwrites the original messages that match a query to mbox files or a Maildir tree, for backup or for mu and notmuch. - Permissions. Each profile sets
allow,ask,readonlyordenyper command.--permissiononmcp servecan only make a profile stricter. See settings. - Speed and cost against a browser agent.
mailreads the mail server over IMAP and opens no browser. No measurement of it against a browser agent is published, so this page makes no claim.
When another tool fits better
- Himalaya: you use a provider that is not IMAP, such as JMAP or Microsoft Graph, or you want server-side Sieve filters.
- gog: you use Gmail only and want commands compiled in so the agent cannot widen them, or its Calendar and Drive commands beside Gmail.
- Microsoft 365 MCP: your organisation turns IMAP or Authenticated SMTP off for your mailbox, or you want Microsoft
Graph beyond mail.
mailreaches Outlook and Microsoft 365 over IMAP and SMTP only. - mu: you already keep a Maildir and want a fast search over it with attachments and threads.
If mail fits, start with installation. To connect an agent, see use it.