Isync
From wikinotes
An alternative to offlineimap, apparently with better OAUTH support.
Documentation
github https://github.com/djnym/isync
Tutorials
arch wiki https://wiki.archlinux.org/title/isync gmail config tutorial https://people.kernel.org/mcgrof/replacing-offlineimap-with-mbsync