Terminal Email

nmh vs Wanderlust

nmh: The MH message handling system: separate shell commands to read, file, search and send mail stored one file per message.
Wanderlust: Mail and news reader for Emacs, written in Emacs Lisp, with built-in IMAP, POP3, NNTP and SMTP support.

Differences

Side by side

nmhWanderlust
InterfaceCommand-line tools and promptsRuns inside Emacs
LanguageCEmacs Lisp
LicenseBSD 3-ClauseGPL 2.0 or later
Latest version1.82.15.9
LinuxNativeNative
macOSNativeNative
WindowsThrough WSLThrough WSL
BSDNativeNative
AndroidThrough TermuxThrough Termux
IMAPThrough a separate toolYes
POP3YesYes
SMTPYesYes
JMAPNoNo
MaildirYesYes
mboxYesNo
notmuchNoThrough a separate tool
OpenPGPNoYes
S/MIMENoNo
OAuth2 sign-inNovia oauth2.el
ThreadsNoYes
Searchpick command matches header fields and message textIMAP server-side search; local search via mu, notmuch, grep or namazu
HTML mailvia mhshow with an external converter such as w3mvia mime-w3m (emacs-w3m)
MouseNoYes
Multiple accountsvia per-command switches or separate profilesYes
Offline usefull; messages are stored as local filesmessage cache and disconnected operation
Calendarreplies to invitations with mhicalNo
Contactsaliases via MailAliases and the ali commandbuilt-in address book
Vim-style keysNoNo
Configuration~/.mh_profile and mts.conf text filesEmacs Lisp in ~/.wl, folder list in ~/.folders

Which to choose

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

Choose Wanderlust for

  • Built-in IMAP, POP3 and SMTP; no external sync or send tool needed
  • Offline cache with disconnected operation
  • Packaged in Debian, Ubuntu, Arch, FreeBSD and MELPA

Watch out for

  • No formal release in many years; only 2.15.9 snapshots
  • Folder syntax and the APEL/FLIM/SEMI dependency stack take time to learn
  • Debian and Ubuntu ship an older snapshot than MELPA and Arch

Install Wanderlust

Questions

What is the difference between nmh and Wanderlust?

nmh is a command-line program; Wanderlust is a mail client that runs inside Emacs. Only nmh has built-in mbox. Only Wanderlust has built-in IMAP.

Which runs on Windows, nmh or Wanderlust?

On Windows, nmh runs through WSL. On Windows, Wanderlust runs through WSL.

See also: nmh alternatives, Wanderlust alternatives.