# Himalaya vs nmail

- Himalaya: Command-line email client written in Rust that lists, reads, sends and moves mail through shell commands with JSON output.
- nmail: Terminal email client for Linux and macOS with an Alpine-like interface and built-in IMAP and SMTP.

## Differences

- Himalaya is a command-line program; nmail is a full-screen terminal client.
- Only Himalaya has built-in JMAP and Maildir.
- On Windows, Himalaya runs natively and nmail is not available.
- On BSD, Himalaya builds from source and nmail is not available.
- Himalaya has multiple accounts; nmail does not.
- Himalaya has threaded views; nmail does not.
- Himalaya is written in Rust; nmail in C++.
- Configuration: Himalaya uses TOML file; interactive setup wizard, and nmail uses ~/.config/nmail/main.conf key=value file.

## Side by side

| | Himalaya | nmail |
| --- | --- | --- |
| Interface | Command-line tools and prompts | Full-screen terminal interface |
| Language | Rust | C++ |
| License | MIT or Apache 2.0 | MIT |
| Linux | Native | Native |
| macOS | Native | Native |
| Windows | Native | Not supported |
| BSD | Build from source | Not supported |
| Android | Not supported | Not supported |
| IMAP | Yes | Yes |
| POP3 | No | No |
| SMTP | Yes | Yes |
| JMAP | Yes | No |
| Maildir | Yes | No |
| mbox | No | No |
| notmuch | No | No |
| OpenPGP | No | No |
| S/MIME | No | No |
| OAuth2 sign-in | via script | Yes |
| Threads | through the IMAP, JMAP and Gmail subcommands | No |
| Search | built-in query syntax across backends; server-side for IMAP and JMAP | local cache index and server search |
| HTML mail | No | converted to text, or opened in an external browser |
| Mouse | No | No |
| Multiple accounts | Yes | No |
| Offline use | with the Maildir backend and a sync tool such as mbsync | local SQLite cache; offline mode and send queue |
| Calendar | No | No |
| Contacts | No | address book built from messages |
| Vim-style keys | No | No |
| Configuration | TOML file; interactive setup wizard | ~/.config/nmail/main.conf key=value file |

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