Overview
Double opt-in requires new contacts to confirm their email address before they become subscribed. When enabled on a contact book, newly added contacts receive a confirmation email with a verification link. Only after clicking the link do they become fully subscribed. Why use double opt-in?- Ensures email addresses are valid and owned by the subscriber
- Reduces bounce rates and spam complaints
- Improves deliverability and sender reputation
- Helps comply with email marketing regulations (GDPR, CAN-SPAM)
How it works
Contact is added
When a contact is added to a contact book with double opt-in enabled (via
dashboard, API, or CSV import), they are created with a Pending status
instead of being immediately subscribed.
Confirmation email is sent
A confirmation email is automatically sent to the contact with a unique
verification link. The link is signed with HMAC-SHA256 and expires after 7
days.
Contact confirms
The contact clicks the verification link in the email and confirms their
subscription on the confirmation page.
Enabling double opt-in
Via the dashboard
- Go to Contacts and select a contact book
- Click on the Double Opt-In tab
- Toggle double opt-in on
- Customize the confirmation email (optional)
- Save your changes
Via the API
Create a contact book with double opt-in enabled:Contact statuses
When double opt-in is enabled, contacts have three possible statuses:| Status | Description |
|---|---|
| Subscribed | Contact has confirmed their subscription and will receive emails |
| Pending | Contact has been added but hasn’t confirmed yet |
| Unsubscribed | Contact has explicitly unsubscribed |
Customizing the confirmation email
You can customize three aspects of the confirmation email:From address
Set a custom sender address for confirmation emails. The address must use one of your verified domains.Subject line
Customize the email subject. The default is “Please confirm your subscription”.Email template
The confirmation email body can be customized using the useSend email editor (via the dashboard) or by providing the editor JSON content via the API.Template variables
The following variables can be used in the confirmation email template:| Variable | Description |
|---|---|
{{doubleOptInUrl}} | The confirmation link (required) |
{{email}} | The contact’s email address |
{{firstName}} | The contact’s first name |
{{lastName}} | The contact’s last name |
Resending confirmation emails
If a contact hasn’t confirmed their subscription, you can resend the confirmation email from the dashboard:- Go to your contact book and find the pending contact
- Click the Resend button next to the contact
Best practices
Set up a verified domain first
Set up a verified domain first
Double opt-in requires at least one verified domain to send confirmation
emails. Make sure to verify your domain
before enabling double opt-in.
Keep the confirmation email simple
Keep the confirmation email simple
The confirmation email should be clear and concise. Include a prominent
confirmation button and a brief explanation of what the subscriber is
confirming.
Use a recognizable from address
Use a recognizable from address
Use a from address that your subscribers will recognize, such as
[email protected] or [email protected]. This reduces the
chance of the confirmation email being marked as spam.Monitor pending contacts
Monitor pending contacts
Regularly check for contacts stuck in Pending status. If many contacts
aren’t confirming, consider improving your confirmation email or resending
confirmations.