Terminal Email

Matcha vs nmh

Matcha: Terminal email client written in Go with the Bubble Tea TUI library, with IMAP, JMAP and POP3 support.
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

Matchanmh
InterfaceFull-screen terminal interfaceCommand-line tools and prompts
LanguageGoC
LicenseMITBSD 3-Clause
Latest versionv1.0.11.8
LinuxNativeNative
macOSNativeNative
WindowsNativeThrough WSL
BSDBuild from sourceNative
AndroidNoThrough Termux
IMAPYesThrough a separate tool
POP3YesYes
SMTPYesYes
JMAPYesNo
MaildirYesYes
mboxNoYes
notmuchNoNo
OpenPGPYesNo
S/MIMEYesNo
OAuth2 sign-inYesNo
ThreadsYesNo
Searchbuilt-in search and filterpick command matches header fields and message text
HTML mailbuilt-in rendering, with inline images in supported terminalsvia mhshow with an external converter such as w3m
MouseYesNo
Multiple accountsYesvia per-command switches or separate profiles
Offline uselocal cache of message lists and bodiesfull; messages are stored as local files
Calendarshows .ics invites and sends RSVP repliesreplies to invitations with mhical
Contactsaddress book built from sent and received mailaliases via MailAliases and the ali command
Vim-style keysYesNo
Configuration~/.config/matcha/config.json plus in-app settings~/.mh_profile and mts.conf text files

Which to choose

Choose Matcha for

  • Supports IMAP, JMAP, POP3 and Maildir in one client
  • PGP (including YubiKey) and S/MIME signing and encryption
  • Prebuilt packages for Linux (Snap, Flatpak), macOS (Homebrew tap) and Windows (winget)

Watch out for

  • Young project; v1.0 shipped only after a long series of 0.x releases
  • JSON config is less readable to hand-edit than muttrc-style files
  • Binary name clashes with an unrelated tool also called matcha

Install Matcha

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 Matcha and nmh?

Matcha is a full-screen terminal client; nmh is a command-line program. Only Matcha has built-in IMAP and JMAP. Only nmh has built-in mbox.

Which runs on Windows, Matcha or nmh?

On Windows, Matcha runs natively. On Windows, nmh runs through WSL.

See also: Matcha alternatives, nmh alternatives.