Terminal Email

nmail vs Notmuch Emacs interface

nmail: Terminal email client for Linux and macOS with an Alpine-like interface and built-in IMAP and SMTP.
Notmuch Emacs interface: Emacs front end for notmuch that reads, searches, tags and composes mail from a local Maildir.

Differences

Side by side

nmailNotmuch Emacs interface
InterfaceFull-screen terminal interfaceRuns inside Emacs
LanguageC++Emacs Lisp
LicenseMITGPL 3.0 or later
Latest versionv5.16.40.40
LinuxNativeNative
macOSNativeNative
WindowsNoThrough WSL
BSDNoNative
AndroidNoThrough Termux
IMAPYesThrough a separate tool
POP3NoThrough a separate tool
SMTPYesYes
JMAPNoNo
MaildirNoYes
mboxNoNo
notmuchNoYes
OpenPGPNoYes
S/MIMENoYes
OAuth2 sign-inYesvia script
ThreadsNoYes
Searchlocal cache index and server searchnotmuch Xapian full-text search with tags
HTML mailconverted to text, or opened in an external browserbuilt-in, rendered with the Emacs shr library
MouseNoYes
Multiple accountsNoYes
Offline uselocal SQLite cache; offline mode and send queuefull; reads a local Maildir synced by mbsync or OfflineIMAP
CalendarNoshows text/calendar parts; no invitation replies
Contactsaddress book built from messagesaddress completion from the notmuch index
Vim-style keysNoNo
Configuration~/.config/nmail/main.conf key=value fileEmacs Lisp in init.el plus the notmuch config file

Which to choose

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

Choose Notmuch Emacs interface for

  • Tag-based organization with fast full-text search over all local mail.
  • Shows a whole thread in a single buffer.
  • Handles PGP/MIME and S/MIME signatures and decryption through notmuch.

Watch out for

  • No built-in IMAP; needs mbsync or a similar sync tool.
  • Custom tags stay in the local index; only standard flags such as unread and replied reach the IMAP server.
  • Requires Emacs and some Emacs Lisp to configure.

Install Notmuch Emacs interface

Questions

What is the difference between nmail and Notmuch Emacs interface?

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

Which runs on Windows, nmail or Notmuch Emacs interface?

On Windows, nmail is not available. On Windows, Notmuch Emacs interface runs through WSL.

See also: nmail alternatives, Notmuch Emacs interface alternatives.