Terminal Email

mu4e vs nmail

mu4e: Email client that runs inside GNU Emacs, built on the mu Maildir indexer and search tool.
nmail: Terminal email client for Linux and macOS with an Alpine-like interface and built-in IMAP and SMTP.

Differences

Side by side

mu4enmail
InterfaceRuns inside EmacsFull-screen terminal interface
LanguageEmacs Lisp (mu4e), C++ (mu)C++
LicenseGPL 3.0 or laterMIT
Latest version1.14.3v5.16.4
LinuxNativeNative
macOSNativeNative
WindowsThrough WSLNo
BSDNativeNo
AndroidThrough TermuxNo
IMAPThrough a separate toolYes
POP3Through a separate toolNo
SMTPYesYes
JMAPNoNo
MaildirYesNo
mboxNoNo
notmuchNoNo
OpenPGPYesNo
S/MIMEvia Emacs MMLNo
OAuth2 sign-invia scriptYes
ThreadsYesNo
SearchXapian full-text index with mu query syntaxlocal cache index and server search
HTML mailbuilt-in, rendered with the Emacs shr libraryconverted to text, or opened in an external browser
MouseYesNo
Multiple accountsvia contextsNo
Offline usefull; reads a local Maildir synced by mbsync or OfflineIMAPlocal SQLite cache; offline mode and send queue
Calendarreplies to invitations with mu4e-icalendarNo
Contactsaddress completion from indexed mailaddress book built from messages
Vim-style keysNoNo
ConfigurationEmacs Lisp in init.el~/.config/nmail/main.conf key=value file

Which to choose

Choose mu4e for

  • Full-text search over all local mail through mu's Xapian index.
  • Works offline, since all mail lives in a local Maildir.
  • Uses Emacs message mode, so PGP/MIME, S/MIME and Org mode links are available.

Watch out for

  • No built-in IMAP; needs mbsync or a similar sync tool, so setup spans several config files.
  • Requires Emacs and some Emacs Lisp to configure.
  • No native Windows build, and Arch packages it only in the AUR.

Install mu4e

Choose nmail for

  • Built-in IMAP and SMTP with setup wizards for Gmail, iCloud and Outlook
  • Local cache, address book and outgoing queue can be encrypted
  • Compose HTML mail using Markdown

Watch out for

  • One account per running instance
  • No threaded view and no PGP or S/MIME
  • Linux and macOS only; no Debian or Fedora package

Install nmail

Questions

What is the difference between mu4e and nmail?

mu4e is a mail client that runs inside Emacs; nmail is a full-screen terminal client. Only mu4e has built-in Maildir. Only nmail has built-in IMAP.

Which runs on Windows, mu4e or nmail?

On Windows, mu4e runs through WSL. On Windows, nmail is not available.

See also: mu4e alternatives, nmail alternatives.