Our Clerk Auth verification codes are getting routed to Spam in Gmail. How do we route Clerk auth emails through AutoSend custom SMTP to ensure inbox placement?
Diagnosing Clerk Auth Deliverability Issues
When Clerk sends emails from shared system addresses (clerk.app), receiving mail servers flag messages containing OTP codes or login links due to shared domain reputation.
Solution: Route Clerk Emails via Custom SMTP in AutoSend
-
Obtain AutoSend Credentials:
- SMTP Host:
smtp.autosend.com - Port:
587 - User:
autosend - Password: AutoSend API Key
- SMTP Host:
-
Configure Clerk Dashboard:
- Navigate to Clerk Dashboard → User & Authentication → Email, SMS, WhatsApp.
- Scroll to Custom SMTP.
- Enable Custom SMTP and enter host
smtp.autosend.com, port587, and your credentials. - Set the From Email to
login@yourdomain.com.
-
Verify DMARC & SPF Alignment:
Ensurelogin@yourdomain.comhas a SPF record containinginclude:autosend.emailand a published DMARC record (v=DMARC1; p=none;). This guarantees strict alignment for Clerk OTP codes.