Integration guide · SMTP
Send Coolify emails with Buzzmark.
A self-hosted Coolify instance sends no email until you give it a mail server. Without one, password resets and team invitations go nowhere, and you get no email when a deployment fails. This guide sets up both the instance email and team notifications.
What you need
- A self-hosted Coolify instance and an account that can change its instance settings.
- 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. Wait until all four show as verified. You can check what is published with the SPF, DKIM and DMARC checker.
2. Create a hive and copy its token
Create a hive, for example “Coolify”, and copy its token. It starts with
bzm_srv_ and is shown once. The token is both the SMTP username and password.
3. Set the instance email settings
In Coolify, open Settings → Email. This is the transactional email Coolify itself uses for password resets and invitations. Enter the sender details, then the SMTP server:
| Field | Value |
|---|---|
| From Name | For example Coolify |
| From Address | An address on your verified domain, such as coolify@acme.com |
| Host | smtp.buzzmarkapp.com |
| Port | 587 |
| Encryption | StartTLS |
| Username | Your hive token, bzm_srv_... |
| Password | The same hive token |
Enable the SMTP provider and save. Coolify uses one provider at a time, so SMTP replaces any other provider that was enabled on this page.
4. Turn on team notifications
Deployment, backup and server alerts are configured per team. Open Notifications → Email for the team and choose to use the system-wide email settings, so the team reuses what you entered in step 3. Then pick the events that should send an email.
A team can also enter its own SMTP details here instead. Use the same values as the table above, with a separate hive if you want that team’s mail logged apart from the rest.
5. Test it
Both pages can send a test email. Send one from the instance settings first, then one from the team’s notification settings. Each should arrive within a few seconds and appear in the hive’s message log in Buzzmark. If the team test fails but the instance test works, the problem is in the team settings.
Trying this on a test instance? Use the token of a capture hive. It catches every email in a test inbox and never delivers it.
The apps you deploy with Coolify can send through Buzzmark too. Give each one the same host and port and its own hive token as environment variables. The SMTP reference has examples for common frameworks.
Troubleshooting
The test email fails with "550 5.7.1". What is wrong?
Buzzmark refused the message, and the text after the code gives the reason. The usual one is a From address on a domain that is not verified in Buzzmark. Check the domain under Domains in the Buzzmark dashboard, and that the From address in Coolify is spelled the same way.
Why can Coolify not connect to the SMTP server?
The port and encryption do not match, or the server cannot reach the port. Use port 587 with StartTLS. TLS/SSL will not work because Buzzmark has no port 465. Some cloud providers block outgoing mail ports on new servers, so try 2525 if 587 times out.
Why does authentication fail?
The token was pasted with a space or line break, or it has been rotated in Buzzmark. Paste it again into both the username and the password field and save before sending another test.
Instance email works but a team gets no notifications. Why?
Each team chooses its own email settings and which events send an email. Open Notifications, then Email, for that team and check that email is enabled, that it uses the system-wide settings or has its own SMTP details, and that the events you care about are ticked.
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