Email and setup guide
The emails that the platform sends, the setup guide in the dashboard, and the DNS records that a sender domain needs.
The setup guide
A new workspace shows a setup guide on the Overview page. Each step ticks by itself when the workspace has the real object:
| Step | Done when |
|---|---|
| Verify your email, create workspace | You signed in. A new user must verify the email address. |
| Connect a network | The workspace has a connection. |
| See your first conversions | The workspace has a conversion. |
| Create an API key | The workspace has an API key. |
| Make your first API request | An API key made a request (see GET /v1/logs?source=api_key). |
| Create a link | The workspace has a link. |
| Add a webhook or a destination | The workspace has a webhook endpoint or a destination. |
| Invite a teammate | The workspace has a second member or an open invitation. |
The state follows the mode of the page (live or test). Select Hide to close the guide. Select Show the setup guide to open it again. Each workspace keeps its own choice in this browser.
The emails
| When | Sent by | |
|---|---|---|
| Verify your email | After sign-up, and when you ask for a new link. | Dashboard server |
| Welcome | One time, after you verify the email address for the first time. | Dashboard server |
| Reset your password | When you ask to reset the password. | Dashboard server |
| Invitation | When an owner or an admin invites a person. The link expires. | Dashboard server |
| Program changes | When a program changes (see the alert settings). | Worker |
| Limit warning | When a metric reaches 80 % and 100 % of the plan (see Plans and billing). | Worker |
Each email has a text part and an HTML part. The welcome email goes out one time for each user. A repeated verification does not send it again.
Send email in development
Locally, all email goes to Mailpit (http://localhost:8025). Set SMTP_URL and SMTP_FROM. No email leaves your computer.
Send email in production
Set RESEND_API_KEY and EMAIL_FROM for the dashboard server and for the worker. The sender domain of EMAIL_FROM must be verified in Resend. Resend shows the DNS records of the domain. Add them at your DNS provider:
- SPF. A
TXTrecord that lets Resend send for your domain. - DKIM. The
TXTorCNAMErecord that Resend gives you. It signs each email. - DMARC. A
TXTrecord at_dmarc.<your domain>. Start withv=DMARC1; p=none; rua=mailto:<your address>. Changeptoquarantinewhen the reports show no problem.
Do not put the key in git. Keep it in the secrets of your host.
To test Resend without real email, use [email protected] as the sender and [email protected] as the recipient.