Authentication error when sendig patch using git send-email command

i am sending a patch using git send-email command but it was unable to send it because of the authentication error
5.7.8 Username and Password not accepted. Learn more at
5.7.8 https://support.google.com/mail/?p=BadCredentials o9sm2633098pfh.217 - gsmtp