Terminal Email

meli vs nmh

meli: Terminal email client written in Rust with IMAP, JMAP, notmuch, Maildir, mbox and NNTP backends and TOML configuration.
nmh: The MH message handling system: separate shell commands to read, file, search and send mail stored one file per message.

How meli and nmh differ

Side by side

meli and nmh side by side
melinmh
InterfaceFull-screen terminal interfaceCommand-line tools and prompts
LanguageRustC
LicenseEUPL 1.2 or GPL 3.0 or laterBSD 3-Clause
Latest version0.8.131.8
LinuxNativeNative
macOSNativeNative
WindowsNoThrough WSL
BSDNativeNative
AndroidNoThrough Termux
IMAPYesThrough a separate tool
POP3NoYes
SMTPYesYes
JMAPYesNo
MaildirYesYes
mboxYesYes
notmuchYesNo
OpenPGPYesNo
S/MIMENoNo
OAuth2 sign-invia scriptNo
ThreadsYesNo
Searchbuilt-in; sqlite3 index by default; notmuch queriespick command matches header fields and message text
HTML mailvia filter command, w3m by defaultvia mhshow with an external converter such as w3m
MouseYesNo
Multiple accountsYesvia per-command switches or separate profiles
Offline useIMAP header cache in sqlite3; full offline use with Maildir and mbsyncfull; messages are stored as local files
CalendarNoreplies to invitations with mhical
Contactsbuilt-in contact list; reads vCard and mutt alias filesaliases via MailAliases and the ali command
Vim-style keysYesNo
ConfigurationTOML file (config.toml)~/.mh_profile and mts.conf text files

Which to choose

Choose meli for

  • Supports JMAP, notmuch, IMAP, Maildir and NNTP in one client
  • Single TOML file with per-account and per-mailbox overrides
  • Embedded terminal runs the editor inside the compose view

Watch out for

  • No POP3 or S/MIME support
  • mbox support is read-only
  • No Windows or Termux packages

Install meli

Choose nmh for

  • Every action is a shell command, so mail handling is easy to script.
  • One file per message lets grep, find and other Unix tools work on mail.
  • Built-in POP3 and SMTP with TLS and SASL; reads mbox and Maildir drops.

Watch out for

  • No IMAP; IMAP mail must be synced to a Maildir first and then incorporated.
  • No built-in OpenPGP or S/MIME, and no thread view.
  • SMTP authentication needs nmh built with Cyrus SASL and its PLAIN or LOGIN plugin.

Install nmh

Questions

What is the difference between meli and nmh?

meli is a full-screen terminal client; nmh is a command-line program. Only meli has built-in IMAP, JMAP and notmuch. Only nmh has built-in POP3.

Which runs on Windows, meli or nmh?

On Windows, meli is not available. On Windows, nmh runs through WSL.

See also: meli alternatives, nmh alternatives.