Skip to Content
AffFast

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:

StepDone when
Verify your email, create workspaceYou signed in. A new user must verify the email address.
Connect a networkThe workspace has a connection.
See your first conversionsThe workspace has a conversion.
Create an API keyThe workspace has an API key.
Make your first API requestAn API key made a request (see GET /v1/logs?source=api_key).
Create a linkThe workspace has a link.
Add a webhook or a destinationThe workspace has a webhook endpoint or a destination.
Invite a teammateThe 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

EmailWhenSent by
Verify your emailAfter sign-up, and when you ask for a new link.Dashboard server
WelcomeOne time, after you verify the email address for the first time.Dashboard server
Reset your passwordWhen you ask to reset the password.Dashboard server
InvitationWhen an owner or an admin invites a person. The link expires.Dashboard server
Program changesWhen a program changes (see the alert settings).Worker
Limit warningWhen 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 TXT record that lets Resend send for your domain.
  • DKIM. The TXT or CNAME record that Resend gives you. It signs each email.
  • DMARC. A TXT record at _dmarc.<your domain>. Start with v=DMARC1; p=none; rua=mailto:<your address>. Change p to quarantine when 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.

On this page