Error creating email trigger

I am creating a Email Trigger (IMAP) that monitors designated customer support email for new messages. When I enter my credentials with gmail or outlook. I get an error “login failed”. I tried to login direct to gmail and outlook, it worked. For some reason n8n will not accept credentials using the Email Trigger (IMAP) node . I followed the instruction n n8n doc help but it didn’t help. I am the only one?

What is the error message (if any)?

Couldn’t connect with these settings

Invalid credentials (Failure)

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):Web
  • Operating system:MacOs

@bbrown007 welcome to the N8n community.

For Gmail you cannot use your regular Gmail password. You must generate a special App Password, almost same with outlook. Do you understand?

I seen that in the doc, I will try with app password. Thank You

Ok @bbrown007 try it and let me know the results.

It worked! Thank you very much! I was under the impression, I will not need to add the app password if 2FA is disabled.

This only worked for Gmail. Outlook for some reason is still giving me a problem. I don’t need it any longer, I will keep using Gmail’s app password. Thanks again.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.