I think it is to do with Google’s security settings. See if you got an email saying you had a blocked access attempt. You can change the settings under ‘security’ to allow less secure apps though it is not recommended.
On the github it says you can set up an app specific password, again look under security settings in your google account, you need two factor authentication on…