Can I use OAuth to authenticate Google SMTP

invalid@example.com (Alvin63), Alvin63
Sun, 14 Sep 2025 16:28:19 +0000
Server configuration and hosting

So having set up Google Workspace email, it kept throwing server errors and not sending emails saying username and password issues (they were the correct username and password). The Server AI bot said, set up 2FA and use an app password. So I did that, replaced the SMTP settings password with the app password and email working fine. However if one thing makes me quit this Google Workspace email it is the annoying yellow exclamation mark on my gmail avatar all the time. Really want it to...