Terminal Email

Mutt vs S-nail

Mutt: Long-running text-mode email client with IMAP, POP3 and SMTP support, configured through a muttrc file.
S-nail: Command-line mail program that implements POSIX mailx, with MIME, IMAP, POP3, SMTP, Maildir and S/MIME support.

Differences

Side by side

MuttS-nail
InterfaceFull-screen terminal interfaceCommand-line tools and prompts
LanguageCC
LicenseGPL 2.0 or laterISC and BSD 2-Clause and BSD 3-Clause and BSD 4-Clause
Latest version2.4.214.9.25
LinuxNativeNative
macOSNativeNative
WindowsThrough WSLThrough WSL
BSDNativeNative
AndroidThrough TermuxNo
IMAPYesYes
POP3YesYes
SMTPYesYes
JMAPNoNo
MaildirYesYes
mboxYesYes
notmuchNoNo
OpenPGPYesNo
S/MIMEYesYes
OAuth2 sign-invia scriptvia script
ThreadsYesYes
Searchbuilt-in patterns; server-side IMAP searchbuilt-in message specifications and the search command; IMAP SEARCH on IMAP folders
HTML mailvia mailcap and an external viewer such as w3m or lynxbuilt-in tag-soup filter or external viewer via mailcap
MouseNoNo
Multiple accountsYesYes
Offline usewith isync or OfflineIMAP; IMAP header and body cacheIMAP cache with disconnected mode
CalendarNoNo
Contactsvia query_command with abook or khardaliases via the alias command
Vim-style keysYesNo
Configurationmuttrc text file~/.mailrc command file

Which to choose

Choose Mutt for

  • Packaged by major Linux distributions, Homebrew, FreeBSD, OpenBSD and Termux
  • Conservative releases that rarely break existing muttrc files
  • Built-in PGP/MIME, S/MIME and Autocrypt

Watch out for

  • No notmuch, NNTP or scripting support (NeoMutt has these)
  • Configuration is a text file with hundreds of options and no setup wizard
  • HTML mail needs an external viewer set up in mailcap

Install Mutt

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 Mutt and S-nail?

Mutt is a full-screen terminal client; S-nail is a command-line program. On Android, Mutt runs through Termux and S-nail is not available. Mutt has OpenPGP; S-nail does not.

Which runs on Windows, Mutt or S-nail?

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

See also: Mutt alternatives, S-nail alternatives.