Email account is not working

I have gmail account. I have tested email at python using this gmail account. It is working.
But when I have set this account at erpnext then is showing
Cannot connect: [AUTHENTICATIONFAILED] Invalid credentials (Failure)


can you share the full traceback ?.

Also check if your gmail account settings, enable the IMAP also check the following


Hi @makarand_b,
This issue is working at my local host.
But now problem is email is not coming.

Can you provide the screenshot of your settings in the Email Account? Are you able to save your Email Account fine?

We use Email Account feature internally as well to communicate with our Customers. It is working fine for us.

Hi @umair,

email account is working at my local host. But email is not coming.
Please see this link Email is not coming