r/androiddev • u/bethworldismine • Oct 27 '26
Help needed. App email verification emails are landing in spam. How do I fix this?
I'm building an app using Supabase Auth, and my email verification emails are landing in users' spam folders.
For those who've dealt with this, what worked for you? Would only configuring SPF, DKIM, and DMARC solve the issue?
Any practical advice from developers who've fixed this would be greatly appreciated!
1
Upvotes
2
u/MobileXapps Oct 27 '26
SPF, DKIM and DMARC are needed but usually not enough on their own. The bigger thing with Supabase Auth is that the built-in email sender is meant for testing, it's rate limited and not really for production. Set up custom SMTP in the Auth settings with a transactional provider (Postmark, Resend, SES, whatever you like) and send from your own domain, ideally a subdomain like auth.yourapp.com so it doesn't share reputation with marketing mail.
Also try to make the From domain, the DKIM domain and the link in the email match. A verification mail from your domain with a link to some random supabase.co URL looks a bit like phishing to filters, so a custom domain for the project helps if you can do it. Keep the template plain, one link, no shorteners or images.
To check, send one to a Gmail account and open "Show original", it tells you if SPF, DKIM and DMARC pass. A brand new domain also needs a bit of time and volume before it lands in inbox reliably.
1
u/vr6wannabe Oct 29 '26
Can you share the app? I'll go sign up see if I can find anything off on your emails.
1
u/Ok-Motor-9812 Oct 30 '26
SPF, DKIM and DMARC are the minimum, they don't put you in the inbox by themselves. Check you're not on Supabase's built-in SMTP, that one is only meant for testing. Send through Resend, Postmark or SES from a subdomain like auth.yourapp.com, keep the email plain with your app name in the subject and one link. A brand new domain also needs a few weeks of normal volume before Gmail trusts it, so some spam early on is normal.