Enjoying this site? Please to help keep the Snapstats.org lights on.
Description
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. - The
w3m
,lynx
,links
,links2
, andelinks
text web browsers. urlview
andurlscan
.
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 --generate_oauth2_token
And add the following to the Neomutt configuration file,
set imap_authenticators="oauthbearer"
set imap_oauth_refresh_command="oauth2 --quiet \
--user=[email_address] \
--client_id=[client_id] \
--client_secret=[client_secret] \
--refresh_token=[refresh_token
Note that within the Neomutt configuration file, the oauth2
script can be
called without specifying a path.