Skip to main content
AutoSend x Auth0
Auth0 uses email for authentication flows like password resets, email verification, and passwordless login. By default, Auth0 uses its built-in email provider, but you can configure it to use AutoSend SMTP for better deliverability and email tracking.

Prerequisites

Verified Domain

Make sure you have a verified domain added in AutoSend to send emails from.

API Key

Create a new API key for SMTP authentication or use the existing one.

Configuration

2

Enable Custom Email Provider

Toggle Use my own email provider to enable custom SMTP configuration.
Supabase Step 2
3

Select SMTP Provider

Select SMTP Provider as your email provider type.
Supabase Step 3
4

Enter SMTP Credentials

Fill in the following settings:
FieldValue
From[email protected] (must match your verified domain)
SMTP Hostsmtp.autosend.com
SMTP Port587
SMTP Usernameautosend
SMTP PasswordYour AutoSend API key (AS_xxx)
Supabase Step 4
5

Save Configuration

Click Save to apply your SMTP settings.
6

Send a Test Email

After saving, click the Send Test button next to the Save button to send a test email and verify your configuration is working.You can also check the Email Activity dashboard to verify the email was sent through AutoSend.
Supabase Step 5

Email Templates

Auth0 allows you to customize email templates for different authentication scenarios. Navigate to BrandingEmail Templates to modify:
  • Verification Email - Sent when users need to verify their email address
  • Welcome Email - Sent after successful signup
  • Change Password - Sent for password reset requests
  • Blocked Account - Sent when an account is blocked
  • Passwordless Email - Sent for passwordless authentication (magic links/codes)
Auth0 email templates use Liquid syntax for dynamic content. Variables like {{ user.email }} and {{ url }} are replaced with actual values when the email is sent.

Troubleshooting

  • Verify your SMTP credentials are correct - Check that your sender email domain is verified in AutoSend - Ensure the From address matches a verified domain - Check Auth0 logs for SMTP connection errors (MonitoringLogs)
  • Double-check your API key is correct - Ensure you’re using autosend as the username - Verify your API key is active in the AutoSend dashboard
  • Verify the hostname is smtp.autosend.com - Try using port 465 with implicit TLS if port 587 fails - Check if your network blocks outbound SMTP connections
  • Ensure your domain has proper DNS records (SPF, DKIM, DMARC) - Use a professional sender name, not just “noreply” - Check your domain reputation in AutoSend

Next Steps

https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/domain.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=9393f9f9b0f7029e6ba8acf2bc09d864

Verify Your Domain

Set up SPF, DKIM, and DMARC for better deliverability
https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/email-activity.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=2ecad7369f217ee7d03c3d8dfdd36d22

Email Activity

Monitor your email delivery and engagement
https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/webhook.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=14ad6675c71731ac04f786559a813ee1

Webhooks

Set up webhooks to track email events in real-time
https://mintcdn.com/autosend-13920f5c/nx_wYfWx3qeZwg1C/icons/smtp.svg?fit=max&auto=format&n=nx_wYfWx3qeZwg1C&q=85&s=d1993edda392d54c3f704a9a4bb04442

SMTP Introduction

Learn more about AutoSend SMTP configuration