Hi Aditya,
Did you use your original gmail account password, If that’s the case you have to generate an app password for your gmail account and try again.
Hope this helps...
See https://support.google.com/accounts/answer/6010255#zippy=%2Cif-less-secure-app-access-is-on-for-your-account for more info.
Basic authentication (username/password) is deprecated.