# Mutt vs nmh

- Mutt: Long-running text-mode email client with IMAP, POP3 and SMTP support, configured through a muttrc file.
- nmh: The MH message handling system: separate shell commands to read, file, search and send mail stored one file per message.

## Differences

- Mutt is a full-screen terminal client; nmh is a command-line program.
- Only Mutt has built-in IMAP.
- nmh has calendar support; Mutt does not.
- Mutt has OpenPGP; nmh does not.
- Mutt has S/MIME; nmh does not.
- Mutt has OAuth2 sign-in; nmh does not.
- Mutt has Vim-style keys; nmh does not.
- Mutt has threaded views; nmh does not.
- Configuration: Mutt uses muttrc text file, and nmh uses ~/.mh_profile and mts.conf text files.

## Side by side

| | Mutt | nmh |
| --- | --- | --- |
| Interface | Full-screen terminal interface | Command-line tools and prompts |
| Language | C | C |
| License | GPL 2.0 or later | BSD 3-Clause |
| Linux | Native | Native |
| macOS | Native | Native |
| Windows | Through WSL | Through WSL |
| BSD | Native | Native |
| Android | Through Termux | Through Termux |
| IMAP | Yes | Through a separate tool |
| POP3 | Yes | Yes |
| SMTP | Yes | Yes |
| JMAP | No | No |
| Maildir | Yes | Yes |
| mbox | Yes | Yes |
| notmuch | No | No |
| OpenPGP | Yes | No |
| S/MIME | Yes | No |
| OAuth2 sign-in | via script | No |
| Threads | Yes | No |
| Search | built-in patterns; server-side IMAP search | pick command matches header fields and message text |
| HTML mail | via mailcap and an external viewer such as w3m or lynx | via mhshow with an external converter such as w3m |
| Mouse | No | No |
| Multiple accounts | Yes | via per-command switches or separate profiles |
| Offline use | with isync or OfflineIMAP; IMAP header and body cache | full; messages are stored as local files |
| Calendar | No | replies to invitations with mhical |
| Contacts | via query_command with abook or khard | aliases via MailAliases and the ali command |
| Vim-style keys | Yes | No |
| Configuration | muttrc text file | ~/.mh_profile and mts.conf text files |

Pages: [Mutt](https://terminalemail.com/clients/mutt/index.md), [nmh](https://terminalemail.com/clients/nmh/index.md)
