Re:Setting up Gmail in Doom Emacs using mbsync and mu4e
by zadwang on Saturday November 06, 2021 @08:10PM
(#29135115)
This is possible with mbsync. Take a look at Archlinux wiki page for mbsync.
Re:Setting up Gmail in Doom Emacs using mbsync and mu4e
by taeric on Saturday November 06, 2021 @10:53PM
(#29136116)
The page I found assumes you can get an app password. Those are disabled in advanced. Am I looking at wrong page?
Re:Setting up Gmail in Doom Emacs using mbsync and mu4e
by spear on Sunday November 07, 2021 @12:54AM
(#29136695)
I used mbsync like this:
https://wiki.archlinux.org/title/Isync#Using_XOAUTH2
On Fedora, I think I had to dnf install "isync" (for mbsync) and "libkgapi" (for the SASL XOAUTH2 plugin) and also pip install "oauth2token".
You'll need to get credentials from Google. I think this describes how: https://developers.google.com/identity/protocols/oauth2
If you have a plain gmail account (instead of Google Workspace, or whatever it's called now), one irritating thing is that you have to renew the access tokens (using oauth2create) once a week.
So, yeah, "Advanced Protection" offerings would be good. Looks like I could make my own app that uses open id to connect?