# Himalaya vs mu4e

- Himalaya: Command-line email client written in Rust that lists, reads, sends and moves mail through shell commands with JSON output.
- mu4e: Email client that runs inside GNU Emacs, built on the mu Maildir indexer and search tool.

## Differences

- Himalaya is a command-line program; mu4e is a mail client that runs inside Emacs.
- Only Himalaya has built-in IMAP and JMAP.
- On Windows, Himalaya runs natively and mu4e runs through WSL.
- On BSD, Himalaya builds from source and mu4e runs natively.
- On Android, Himalaya is not available and mu4e runs through Termux.
- mu4e has mouse support; Himalaya does not.
- mu4e has calendar support; Himalaya does not.
- mu4e has OpenPGP; Himalaya does not.
- mu4e has S/MIME; Himalaya does not.
- Himalaya is written in Rust; mu4e in Emacs Lisp (mu4e), C++ (mu).
- Configuration: Himalaya uses TOML file; interactive setup wizard, and mu4e uses Emacs Lisp in init.el.

## Side by side

| | Himalaya | mu4e |
| --- | --- | --- |
| Interface | Command-line tools and prompts | Runs inside Emacs |
| Language | Rust | Emacs Lisp (mu4e), C++ (mu) |
| License | MIT or Apache 2.0 | GPL 3.0 or later |
| Linux | Native | Native |
| macOS | Native | Native |
| Windows | Native | Through WSL |
| BSD | Build from source | Native |
| Android | Not supported | Through Termux |
| IMAP | Yes | Through a separate tool |
| POP3 | No | Through a separate tool |
| SMTP | Yes | Yes |
| JMAP | Yes | No |
| Maildir | Yes | Yes |
| mbox | No | No |
| notmuch | No | No |
| OpenPGP | No | Yes |
| S/MIME | No | via Emacs MML |
| OAuth2 sign-in | via script | via script |
| Threads | through the IMAP, JMAP and Gmail subcommands | Yes |
| Search | built-in query syntax across backends; server-side for IMAP and JMAP | Xapian full-text index with mu query syntax |
| HTML mail | No | built-in, rendered with the Emacs shr library |
| Mouse | No | Yes |
| Multiple accounts | Yes | via contexts |
| Offline use | with the Maildir backend and a sync tool such as mbsync | full; reads a local Maildir synced by mbsync or OfflineIMAP |
| Calendar | No | replies to invitations with mu4e-icalendar |
| Contacts | No | address completion from indexed mail |
| Vim-style keys | No | No |
| Configuration | TOML file; interactive setup wizard | Emacs Lisp in init.el |

Pages: [Himalaya](https://terminalemail.com/clients/himalaya/index.md), [mu4e](https://terminalemail.com/clients/mu4e/index.md)
