Version20250510-6-g94e0e0be4
Revision887
Size145.0 MB
LicenseApache-2.0
Confinementstrict
Basecore24

NeoMutt is a command line mail reader (or MUA)


Command line mail reader based on Mutt, with added features.

Neomutt supports all the features that are supported by Mutt, including POP and IMAP support, SSL encryption and SASL authentication,
threading and GPG support.

In addition, the neomutt snap provides:
  • Notmuch: a mail indexing tools that provides advanced features such as
full-text search, thread reconstruction and added features.
  • Color attachment headers using regex, just like mail bodies.
  • Custom rules for theming the mail index.
  • NNTP support.
  • Visual progress bar for slow operations.
  • Trash folder.
  • Google's oauth2.py script (https://github.com/google/gmail-oauth2-tools), see
https://neomutt.org/guide/optionalfeatures#6-%C2%A0oauthbearer-and-xoauth2-support
for usage details.
  • Text-based Web browsers:
* w3m
* lynx
* links
* links2
* elinks
  • Utilities:
* urlview
* urlscan
  • Editors:
* vim
* nvim

The snap version of neomutt expects configuration files in

 ~/snap/neomutt/current


The main configuration file, for example, has to be placed in

 ~/snap/neomutt/current/.neomuttrc


Note that this directory is versioned and is backed up when the snap is
removed (see https://snapcraft.io/docs/data-locations#heading--user).

OAuth2 Support

Follow the direction in https://neomutt.org/guide/optionalfeatures#6-%C2%A0oauthbearer-and-xoauth2-support
or simply run

 neomutt.oauth2 --help


to get instructions on how to create Client ID and Client Secrets. Create a
refresh token,

 neomutt.oauth2 --generateoauth2token


And add the following to the Neomutt configuration file,

 set imapauthenticators="oauthbearer"
 set imapoauthrefreshcommand="oauth2 --quiet \
   --user=[emailaddress] \
   --clientid=[clientid] \
   --clientsecret=[clientsecret] \
   --refreshtoken=[refresh_token


Note that within the Neomutt configuration file, the oauth2 script can be
called without specifying a path.

Update History

20250510-6-g94e0e0be4 (887)
13 Dec 2025, 09:47 UTC

Published29 Apr 2022, 20:41 UTC

Last updated7 Jul 2025, 10:50 UTC

First seen13 Dec 2025, 09:47 UTC