Terminal Email

Cone vs nmh

Cone: Full-screen console mail client and newsreader from the Courier mail server project.
nmh: The MH message handling system: separate shell commands to read, file, search and send mail stored one file per message.

Differences

Side by side

Conenmh
InterfaceFull-screen terminal interfaceCommand-line tools and prompts
LanguageC++C
LicenseGPL 3.0BSD 3-Clause
Latest version2.51.8
LinuxBuild from sourceNative
macOSNoNative
WindowsThrough WSLThrough WSL
BSDNativeNative
AndroidNoThrough Termux
IMAPYesThrough a separate tool
POP3YesYes
SMTPYesYes
JMAPNoNo
MaildirYesYes
mboxYesYes
notmuchNoNo
OpenPGPYesNo
S/MIMENoNo
OAuth2 sign-inNoNo
ThreadsYesNo
Searchbuilt-in folder search; server-side on IMAPpick command matches header fields and message text
HTML mailbuilt-in HTML renderervia mhshow with an external converter such as w3m
MouseNoNo
Multiple accountsYesvia per-command switches or separate profiles
Offline useNofull; messages are stored as local files
CalendarNoreplies to invitations with mhical
Contactsbuilt-in address books, stored locally, in an IMAP folder, or on LDAPaliases via MailAliases and the ali command
Vim-style keysNoNo
Configurationinteractive setup screens; settings saved under ~/.cone~/.mh_profile and mts.conf text files

Which to choose

Choose Cone for

  • Handles IMAP, POP3, local mbox and Maildir folders, and newsgroups in one folder tree.
  • Built-in OpenPGP signing and encryption with per-account keys.
  • Optional master password encrypts saved server passwords.

Watch out for

  • Not packaged by Debian, Fedora, Arch or Homebrew; usually built from source.
  • No offline mode for IMAP accounts and no OAuth2.
  • No S/MIME support.

Install Cone

Choose nmh for

  • Every action is a shell command, so mail handling is easy to script.
  • One file per message lets grep, find and other Unix tools work on mail.
  • Built-in POP3 and SMTP with TLS and SASL; reads mbox and Maildir drops.

Watch out for

  • No IMAP; IMAP mail must be synced to a Maildir first and then incorporated.
  • No built-in OpenPGP or S/MIME, and no thread view.
  • SMTP authentication needs nmh built with Cyrus SASL and its PLAIN or LOGIN plugin.

Install nmh

Questions

What is the difference between Cone and nmh?

Cone is a full-screen terminal client; nmh is a command-line program. Only Cone has built-in IMAP. On Linux, Cone builds from source and nmh runs natively.

Which runs on Windows, Cone or nmh?

On Windows, Cone runs through WSL. On Windows, nmh runs through WSL.

See also: Cone alternatives, nmh alternatives.