Terminal Email

mu4e vs S-nail

mu4e: Email client that runs inside GNU Emacs, built on the mu Maildir indexer and search tool.
S-nail: Command-line mail program that implements POSIX mailx, with MIME, IMAP, POP3, SMTP, Maildir and S/MIME support.

Differences

Side by side

mu4eS-nail
InterfaceRuns inside EmacsCommand-line tools and prompts
LanguageEmacs Lisp (mu4e), C++ (mu)C
LicenseGPL 3.0 or laterISC and BSD 2-Clause and BSD 3-Clause and BSD 4-Clause
Latest version1.14.314.9.25
LinuxNativeNative
macOSNativeNative
WindowsThrough WSLThrough WSL
BSDNativeNative
AndroidThrough TermuxNo
IMAPThrough a separate toolYes
POP3Through a separate toolYes
SMTPYesYes
JMAPNoNo
MaildirYesYes
mboxNoYes
notmuchNoNo
OpenPGPYesNo
S/MIMEvia Emacs MMLYes
OAuth2 sign-invia scriptvia script
ThreadsYesYes
SearchXapian full-text index with mu query syntaxbuilt-in message specifications and the search command; IMAP SEARCH on IMAP folders
HTML mailbuilt-in, rendered with the Emacs shr librarybuilt-in tag-soup filter or external viewer via mailcap
MouseYesNo
Multiple accountsvia contextsYes
Offline usefull; reads a local Maildir synced by mbsync or OfflineIMAPIMAP cache with disconnected mode
Calendarreplies to invitations with mu4e-icalendarNo
Contactsaddress completion from indexed mailaliases via the alias command
Vim-style keysNoNo
ConfigurationEmacs Lisp in init.el~/.mailrc command 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 S-nail for

  • Drop-in POSIX mailx, so it works in existing shell scripts and cron jobs.
  • Built-in SMTP, POP3 and IMAP with TLS; no separate sync or send tool needed.
  • S/MIME signing and encryption are built in.

Watch out for

  • Line-oriented prompt instead of a full-screen interface.
  • No built-in OpenPGP; upstream documents a gpg pipe workaround only.
  • IMAP support is kept at an older code level and upstream advises care.

Install S-nail

Questions

What is the difference between mu4e and S-nail?

mu4e is a mail client that runs inside Emacs; S-nail is a command-line program. Only S-nail has built-in IMAP, POP3 and mbox. On Android, mu4e runs through Termux and S-nail is not available.

Which runs on Windows, mu4e or S-nail?

On Windows, mu4e runs through WSL. On Windows, S-nail runs through WSL.

See also: mu4e alternatives, S-nail alternatives.