Install latest/stable of neomutt
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
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:
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.w3mlynxlinkslinks2elinksurlviewurlscanvimnvimThe 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.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.