
For n8n to send e-mail you use SMTP; to read it, IMAP. Either way n8n signs in to a mailbox like any e-mail program: it needs the server, the port, the full address and the password. The logic is the same for a mailbox with us and for any other provider.
What each credential needs
| Item | Sending (SMTP) | Reading (IMAP) |
| Server | The outgoing mail server of the account. | The incoming mail server of the account. |
| Port and encryption | On our mailboxes, 465 with SSL. | On our mailboxes, 993 with SSL. |
| User name | The full e-mail address. | The full e-mail address. |
| Password | The mailbox password. | The mailbox password. |
The server name and the right ports for your account are in the connection details cPanel shows for each mailbox. See how to create an e-mail account in cPanel. If the mailbox is with another provider, the details come from their help pages.
Building the workflow
|
|
|
|
|
When it fails
| Error | Likely cause |
| Authentication refused | Wrong user name or password. Use the full address, not just the part before the @. |
| Timed out | Wrong port, or the server n8n runs on cannot reach that port. See which ports are open. |
| Certificate error | The server name you typed does not match the certificate. Use the mail server name the account gives you. |
| Sends but lands in spam | SPF, DKIM or DMARC is missing on the domain. See SPF, DKIM and DMARC. |
| Gmail or another provider refuses the password | Some providers require an app-specific password for outside programs. Check their help. |
| A badly built workflow sends a lot, fast. A loop that fires hundreds of messages can put your domain on spam lists. Test with a few recipients and respect the limits: how to write an e-mail that does not land in spam. |
| For internal alerts (an order came in, a server stopped) always send to an address of yours and use the subject as a filter. It is easy to sort in the inbox. |
|
Need professional mailboxes on your own domain? See professional e-mail |
|
SEE ALSO How to create an e-mail account in cPanel |
RECOMMENDED PRODUCT Professional e-mail on your domain Mailboxes in your company name, no adverts, with spam filtering. from $6.59/mo (3-year plan, with coupon) See plans |
- 0 Users Found This Useful











