Do you have 2 factor authentication enabled?
You may need to make the account less secure to use this functionality.
https://myaccount.google.com/lesssecureapps?pli=1&rapt=AEjHL4OQK4POSCaU_DB0KUXKN1DMXyj8xA0XlWqyPgT0mVDU9EI0_bIRLGIkRIk74Q-wHN6OxFFeDPABxqs95dZ98lGWWgPhaw