email configuration

Hello,   I am following help guide of “Email with Templates” but when I configure, I always get following error   535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 c23sm9262858eds.57 - gsmtp  What may be the problem? My gmail credentials are fine.  
1 answers

Do you have 2 factor authentication enabled?

You may need to make the account less secure to use this functionality.