Terminal Email

Himalaya vs S-nail

Himalaya: Command-line email client written in Rust that lists, reads, sends and moves mail through shell commands with JSON output.
S-nail: Command-line mail program that implements POSIX mailx, with MIME, IMAP, POP3, SMTP, Maildir and S/MIME support.

Differences

Side by side

HimalayaS-nail
InterfaceCommand-line tools and promptsCommand-line tools and prompts
LanguageRustC
LicenseMIT or Apache 2.0ISC and BSD 2-Clause and BSD 3-Clause and BSD 4-Clause
Latest version2.1.014.9.25
LinuxNativeNative
macOSNativeNative
WindowsNativeThrough WSL
BSDBuild from sourceNative
AndroidNoNo
IMAPYesYes
POP3NoYes
SMTPYesYes
JMAPYesNo
MaildirYesYes
mboxNoYes
notmuchNoNo
OpenPGPNoNo
S/MIMENoYes
OAuth2 sign-invia scriptvia script
Threadsthrough the IMAP, JMAP and Gmail subcommandsYes
Searchbuilt-in query syntax across backends; server-side for IMAP and JMAPbuilt-in message specifications and the search command; IMAP SEARCH on IMAP folders
HTML mailNobuilt-in tag-soup filter or external viewer via mailcap
MouseNoNo
Multiple accountsYesYes
Offline usewith the Maildir backend and a sync tool such as mbsyncIMAP cache with disconnected mode
CalendarNoNo
ContactsNoaliases via the alias command
Vim-style keysNoNo
ConfigurationTOML file; interactive setup wizard~/.mailrc command file

Which to choose

Choose Himalaya for

  • Every action is a shell command with optional JSON output, suited to scripts
  • Native Windows binary through Scoop and GitHub releases
  • Also supports JMAP, the Gmail API and Microsoft Graph

Watch out for

  • No interactive interface; himalaya-tui is still pre-release
  • Composing rich MIME or PGP messages needs the separate mml tool
  • Version 2 dropped the notmuch and sendmail backends

Install Himalaya

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

Only Himalaya has built-in JMAP. Only S-nail has built-in POP3 and mbox. On Windows, Himalaya runs natively and S-nail runs through WSL.

Which runs on Windows, Himalaya or S-nail?

On Windows, Himalaya runs natively. On Windows, S-nail runs through WSL.

See also: Himalaya alternatives, S-nail alternatives.