Fork of the aerc email client (https://sr.ht/~rjarry/aerc)
Find a file
Frode Aannevik b0eaf5191c Support imaps with oauthbearer authentication (Gmail)
imaps+oauthbearer://user:token@host?token_endpoint=...

 - the config Source password is used as access token if
   no token_endpoint parameter is set
 - the config Source password is used as refresh token if
   token_endpoint parameter is set, and used to exchange
   with an access token

The implementation has only been tested with Gmail.

    source = imaps+oauthbearer://{username}:{refersh_token}@imap.gmail.com:993? \
    client_id=XX&\
    client_secret=XX&\
    token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken

client credentials created with

    https://console.developers.google.com/apis/credentials

refresh token created with

    https://github.com/google/gmail-oauth2-tools/blob/master/python/oauth2.py

rel: https://todo.sr.ht/~sircmpwn/aerc2/42
2019-07-11 19:36:14 -04:00
commands Fix crashes when operating on empty folder (#216) 2019-07-10 13:21:38 -04:00
config Document message index format specifiers 2019-07-04 11:08:55 -04:00
doc Support imaps with oauthbearer authentication (Gmail) 2019-07-11 19:36:14 -04:00
filters Move contrib -> filters 2019-06-27 09:32:46 -04:00
lib Support imaps with oauthbearer authentication (Gmail) 2019-07-11 19:36:14 -04:00
models Factor IMAP-specific structs out of UI models 2019-07-08 16:06:28 -04:00
widgets Fix crashes when operating on empty folder (#216) 2019-07-10 13:21:38 -04:00
worker Support imaps with oauthbearer authentication (Gmail) 2019-07-11 19:36:14 -04:00
.build.yml Add .build.yml 2019-07-07 18:51:51 -04:00
.gitignore Subsitute prefix in aerc.conf for install 2019-05-26 10:27:22 -04:00
aerc.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
go.mod Support imaps with oauthbearer authentication (Gmail) 2019-07-11 19:36:14 -04:00
go.sum Support imaps with oauthbearer authentication (Gmail) 2019-07-11 19:36:14 -04:00
LICENSE Add README.md, update license (MIT -2019) 2019-01-13 20:09:07 -05:00
Makefile Move contrib -> filters 2019-06-27 09:32:46 -04:00
README.md Document collecting log output 2019-06-14 10:55:55 -04:00

aerc

aerc is an email client for your terminal.

Join the IRC channel: #aerc on irc.freenode.net

Building

Install the dependencies:

  • go (>=1.12)
  • scdoc

Then compile aerc:

$ make

Installation

# make install
$ aerc

On its first run, aerc will copy the default config files to ~/.config/aerc and show the account configuration wizard.

If you redirect stdout to a file, logging output will be written to that file:

$ aerc > log

Resources

Send patches and questions to ~sircmpwn/aerc@lists.sr.ht.

Subscribe to release announcements on ~sircmpwn/aerc-announce

Bugs & todo here: ~sircmpwn/aerc2