@pavejon have you enabled the "less secure apps" option in your google settings? https://support.google.com/accounts/answer/6010255?hl=en or if you use two factor authentication you can get an app specific password instead and use that to authenticate.