mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2026-01-24 08:08:02 +01:00
The world's best email client
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
|
||
|---|---|---|
| commands | ||
| config | ||
| doc | ||
| filters | ||
| lib | ||
| models | ||
| widgets | ||
| worker | ||
| .build.yml | ||
| .gitignore | ||
| aerc.go | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
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