IMAP#
You can use these credentials to authenticate the following nodes with IMAP.
Prerequisites#
Create an email account on a service with IMAP support.
Using IMAP#
- Retrieve your login credentials and IMAP connection parameters.
- Use the login credentials and IMAP connection parameters with your IMAP Email node credentials in n8n.
- Click on the Save button to save your credentials.
Using Gmail#
- Access your Gmail account.
- Click on the gears icon on the top and click on See all settings.
- Click on the Forwarding and POP/IMAP tab.
- Under the IMAP access section, select 'Enable IMAP'.
- Click on the Save Changes button.
- Go to your Google Account page.
- Click on Security on the left sidebar.
- Click on 2-Step Verification under the Signing in to Google section.
- Set up your 2-Step Verification method.
- Click on App passwords under the Signing in to Google section.
- Select 'Mail' from the Select app dropdown list.
- Select 'Other' from the Select device dropdown list.
- Enter a name in the text field.
- Click on the GENERATE button.
- Copy the displayed password.
- In the IMAP node credentials, enter your email address in the User field. For example,
example@gmail.com
. - Paste the App password you copied in Step 15 in the Password field.
- Enter
imap.gmail.com
in the Host field. - Toggle SSL/TLS to
true
. - Click on Save to save your credentials.
Note: Before executing the node, set the Ignore SSL Issues option to true as the Gmail certificate is self-signed.
Using Yahoo Mail#
- Open your Yahoo Mail account.
- Click on your avatar on the top right and select 'Account info'.
- Click on the Account security tab in the left sidebar.
- Scroll down to the bottom and click on Generate app password.
- Select 'Other app' from the Select your app dropdown list.
- Enter the name of the app in the Enter custom name field.
- Click on the Generate button.
- Copy the displayed password.
- Enter the name for your credentials in the Credentials Name field in the 'IMAP' credentials in n8n.
- Enter your email address in the User field.
- Paste the password you copied earlier in the Password field.
- Enter
imap.mail.yahoo.com
in the Host field. - Toggle SSL/TLS to
true
. - Click on Save to save your credentials.
The following video demonstrates the steps mentioned above.
Using Outlook.com#
- Enter the name for your credentials in the Credentials Name field in the 'IMAP' credentials in n8n.
- Enter your email address in the User field.
- Enter your account password in the Password field.
- Enter
outlook.office365.com
in the Host field. - Toggle SSL/TLS to
true
. - Click on Create to create your credentials.
Note If you get a connection error, please follow the steps mentioned in the FAQs.
The following video demonstrates the steps mentioned above.
FAQs#
How to solve the connection error when connecting to Outlook.com?#
If you receive a connection error while configuring the credentials for your Outlook account, follow the steps mentioned below: 1. Go to account.live.com/activity. 2. Sign in using the email address and password of your account. 3. Under the Recent activity section, find the Session Type event that matches the most recent time you received the connection error and click to expand it. 4. Select This was me to let the system know you authorize the IMAP connection.