Integration guide · SMTP
Send n8n emails with Buzzmark.
n8n sends email in two places. Workflows send it with the Send Email node, which uses an SMTP credential. A self-hosted instance also sends its own invitations and password resets, which are set with environment variables. This guide covers both.
What you need
- An n8n instance. The environment variables in step 4 apply to self-hosted n8n only.
- A Buzzmark account. The free plan covers 300 emails a month.
- Access to the DNS of the domain you want to send from.
1. Verify your sending domain
In the Buzzmark dashboard, open Domains, add your domain and publish the SPF, DKIM, DMARC and Return-Path records it generates. Workflows can only send from an address on a verified domain. The SPF, DKIM and DMARC checker shows what is published.
2. Create a hive and copy its token
Create a hive for n8n and copy its token. It starts with bzm_srv_ and is shown
once. The token is both the SMTP user and the password.
3. Create the SMTP credential
In n8n, create a new credential and choose the SMTP type, or add a Send Email node to a workflow and create the credential from there. Fill it in like this:
| Field | Value |
|---|---|
| User | Your hive token, bzm_srv_... |
| Password | The same hive token |
| Host | smtp.buzzmarkapp.com |
| Port | 587 (the form starts at 465, so change it) |
| SSL/TLS | Off |
| Disable STARTTLS | Off (appears once SSL/TLS is off) |
The SSL/TLS toggle is the one that catches people out. In n8n it means implicit TLS, which belongs to port 465. On port 587 it has to be off, and n8n then upgrades the connection with STARTTLS. The connection is still encrypted.
Save the credential. n8n tests the connection and login when you do.
4. Set n8n’s own email (self-hosted)
Invitations and password resets for n8n users do not use the credential above. Set these environment variables on the n8n container or process, then restart it:
N8N_EMAIL_MODE=smtp
N8N_SMTP_HOST=smtp.buzzmarkapp.com
N8N_SMTP_PORT=587
N8N_SMTP_USER=bzm_srv_...
N8N_SMTP_PASS=bzm_srv_...
N8N_SMTP_SENDER="Acme n8n <n8n@acme.com>"
N8N_SMTP_SSL=false
N8N_SMTP_SSL defaults to true, so it must be set to
false for port 587. N8N_SMTP_STARTTLS defaults to
true; leave it alone. The address in N8N_SMTP_SENDER must be on
your verified domain.
5. Test it
In a workflow, add a Send Email node, select the credential, set From Email to an address on your verified domain, add a To Email and a Subject, and execute the node. To test the environment variables, invite a user from the n8n settings. Each message appears in the hive’s message log in Buzzmark.
While you are building a workflow, use a credential holding the token of a capture hive. Its mail is caught in a test inbox and never delivered, so a loop over your whole customer list cannot email anyone. Swap to the live credential when the workflow is ready.
The SMTP reference lists every setting and reply code.
Troubleshooting
Why does the credential test fail with a TLS or "wrong version number" error?
The SSL/TLS toggle is on. That setting means implicit TLS, which is for port 465. Buzzmark uses port 587 with STARTTLS, so turn SSL/TLS off and leave Disable STARTTLS off. For the environment variables the equivalent is N8N_SMTP_SSL=false.
Why does the server say it does not support authentication?
STARTTLS has been disabled. Buzzmark only offers a login after the connection is encrypted, so the Disable STARTTLS toggle must stay off and N8N_SMTP_STARTTLS must not be set to false.
What does "550 5.7.1" mean?
Buzzmark refused the message and the text after the code gives the reason. Usually the From Email in the node, or the address in N8N_SMTP_SENDER, is on a domain that is not verified in Buzzmark.
Why does authentication fail with "535"?
The token has a stray space or line break, or it was rotated in Buzzmark. Paste it again into both User and Password. In a Docker Compose file, quote the value so nothing is trimmed or expanded.
Setting up something else? See all integration guides.
Rather not do DNS by hand?
Buzzmark is EU-hosted transactional email that generates your SPF, DKIM, DMARC and Return-Path records, checks them for you and warns you if they ever drift.
Free up to 300 emails a month · No credit card