Use OAUTH2 for UGent mail account

This commit is contained in:
2022-02-03 03:20:15 +01:00
parent a21ae8963b
commit 49e3f368eb
4 changed files with 422 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
"rejectUnauthorized": true
},
"username": "amin.kasrouaouam@ugent.be",
"passwordCmd": "pass mail/ugent",
"passwordCmd": "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile",
"xoauth2": true,
"onNewMail": "mbsync ugent",
"onNewMailPost": "notmuch new",