I userd getmail instead of fetchmail in the past, and a quick web search reveals that it seems to support OAUTH2: https://www.bytereef.org/howto/oauth2/getmail.html.
Regards, Christian On 2022-03-04 16:59 UTC+0100, Marc Auslander wrote: > Google has now said they are pulling the plug on userid/password > authentication for apps. > > I use fetchmail and exim4 to get and send mail. Neither, AFAIK, > supports OAUTH2. I'm also still on stretch but will update if I have to. > > So what suggestions does anyone have for dealing with OAUTH2 access to > gmail? > -- http://www.cb-fraggle.de