You left out the entire configure SMTP step. Honestly I’m not even sure how to do that if your SMTP server requires 2FA and does not allow legacy app specific passwords.
https://git-send-email.io/#step-2
A tool from Google is mentioned and linked to:
https://github.com/google/gmail-oauth2-tools/tree/master/go/...