May 1, 2026Updated May 29, 202611 minute read

Why Your Supabase Auth Emails Go to Spam in 2026: Causes and Fixes

Learn why your Supabase authentication emails end up in spam and how to fix it. improve deliverability with proven strategies.

Andrew Kim

Andrew Kim

Why Your Supabase Auth Emails Go to Spam in 2026: Causes and Fixes

Learn why your Supabase authentication emails end up in spam and how to fix it. improve deliverability with proven strategies.

Quick Answer (TL;DR)

Authentication emails sent from Supabase often land in spam folders due to several key issues. The primary culprits include using the default SMTP server, which is a shared and development-only resource, and sending from an unauthenticated domain. These factors significantly increase the chances of your emails being flagged as spam. To improve deliverability, switch to a custom SMTP provider, authenticate your domain with SPF, DKIM, and DMARC records, and ensure you're sending from a branded email address associated with your domain. This will help your emails appear more legitimate to spam filters and increase the likelihood of them reaching your users' inboxes.

Why This Is Tricky

Many developers face challenges with email deliverability when using Supabase for sending authentication emails. The issues stem primarily from the default configuration that Supabase offers. The default SMTP server is shared among many users, which means your emails are not only competing for priority, but they also inherit any negative reputation from other users on the server. This shared environment is not designed for production use, and it lacks the necessary authentication that email providers expect.

Also, if you're sending emails without authenticating your domain, major email providers will likely mark your messages as suspicious. Domain authentication involves setting up SPF, DKIM, and DMARC records, which can be complex if you're unfamiliar with DNS configurations. Another common pitfall is using a generic or mismatched from-address, which further raises red flags for spam filters. Without proper domain reputation and warm-up practices, even well-crafted emails can suffer from poor deliverability.

Your Options

CauseWhy It HurtsFix
Using Supabase Default SMTPShared server, inherits negative reputationConfigure a custom SMTP server
Unauthenticated Sending DomainEmails appear suspicious, likely to be flagged as spamAdd SPF, DKIM, and DMARC DNS records
Generic From-AddressReduces credibility and trustUse a branded email address
No Domain Reputation/Warm-UpEmails are treated as unknown, decreasing deliverabilityGradually increase sending volume to build reputation
Spammy Content and LinksTriggers spam filters, reducing deliverabilityEnsure content is clear and relevant, avoid spam trigger words

By understanding these options and implementing the recommended fixes, you can greatly enhance the deliverability of your Supabase authentication emails. For more advanced solutions, consider using comprehensive tools like Dreamlit that manage these aspects for you.

Step-by-Step Instructions

Configure a Custom SMTP Server in Supabase

  1. Choose a Reliable SMTP Provider:

    Select an SMTP provider that suits your needs. Popular choices include SendGrid, Mailgun, and Amazon SES. Each has its own strengths, so consider factors like pricing, ease of integration, and support for your expected email volume.

  2. Create an Account and Obtain SMTP Credentials:

    Sign up for your chosen SMTP service and navigate to the settings or credentials section to obtain your SMTP server details. You'll need the SMTP server address, port, username, and password.

  3. Update Supabase SMTP Settings:

    Log into your Supabase project and go to Authentication > Emails > SMTP Settings. Enter your custom SMTP server details:

    SMTP Host: smtp.yourprovider.com SMTP Port: 587 SMTP User: your_smtp_username SMTP Password: your_smtp_password

    Ensure you select the correct port (usually 587 for TLS) and enable 'TLS' if your provider supports it.

  4. Test Your Configuration:

    Send a test email through Supabase to verify that your new SMTP settings are working. Check both the delivery and whether it lands in the inbox.

Authenticate Your Domain with SPF, DKIM, and DMARC

  1. Access Your Domain DNS Settings:

    Log into your domain registrar or DNS provider. This is where you'll add the necessary DNS records for SPF, DKIM, and DMARC.

  2. Add SPF Record:

    Create a TXT record in your DNS settings:

    Type: TXT Name: @ Value: v=spf1 include:yourprovider.com ~all

    This SPF record authorizes your SMTP provider to send emails on behalf of your domain.

  3. Set Up DKIM Signing:

    Go to your SMTP provider's dashboard to find your DKIM key. The record name uses the selector your provider assigns (e.g., <selector>._domainkey — use the exact selector your SMTP provider gives you). Add it as a TXT record:

    Type: TXT Name: <selector>._domainkey (use the exact selector your SMTP provider gives you) Value: v=DKIM1; k=rsa; p=YourGeneratedPublicKey

    Replace "YourGeneratedPublicKey" with the actual key provided by your SMTP provider.

  4. Configure DMARC Policy:

    Add a DMARC record to monitor and enforce email security policies:

    Type: TXT Name: _dmarc Value: v=DMARC1; p=none; rua=mailto:[email protected]

    Initially, set the policy (p=none) to monitor. Once confident, you can change it to 'quarantine' or 'reject' to enforce stricter rules.

  5. Verify Your DNS Records:

    Use tools like MX Toolbox to verify that your SPF, DKIM, and DMARC records are correctly configured and propagated.

Use a Branded From-Address

  1. Create a Domain-Specific Email Address:

    Set up an email address that matches your domain, such as [email protected]. This enhances credibility and aligns with your brand.

  2. Update Supabase From-Address:

    In your Supabase email settings, enter this branded email address as the from-address. This helps prevent your emails from being flagged as spam due to mismatched domains.

  3. Test Sending and Appearance:

    Send a test email to check how your email appears in various inboxes. Ensure your brand is clearly represented and that the email is delivered successfully.

Warm Up Your Domain

  1. Start with Low Volume:

    Begin by sending a small number of emails each day. Gradually increase the volume over several weeks. This helps establish a positive reputation for your domain.

  2. Monitor Engagement:

    Keep an eye on open and click rates. High engagement signals to email providers that your emails are wanted and relevant.

  3. Adjust Based on Feedback:

    If you receive spam complaints or high bounce rates, slow down your sending and address any issues before increasing volume again.

Common Errors and How to Fix Them

ErrorCauseFix
Emails Not DeliveredIncorrect SMTP settings or blocked portsDouble-check SMTP configuration and ensure ports 587 or 465 are open
Emails Landing in SpamUnauthenticated domain or spammy contentAuthenticate domain with SPF/DKIM/DMARC; revise email content
High Bounce RateSending to an unverified listClean your email list regularly; use double opt-in
DKIM Not ValidatingIncorrect DNS recordVerify DKIM setup and check for typos in the DNS record
DMARC Reports Not ReceivedIncorrect DMARC recordEnsure the DMARC record includes a valid rua email address

By following these instructions and addressing common errors with the suggested fixes, you can significantly improve the delivery rate and reputation of your Supabase-auth emails. For more simplified solutions, consider exploring advanced email management tools like Dreamlit.

The Easier Way: Dreamlit

If the technical setup and ongoing management of email deliverability sound daunting, Dreamlit offers a simplified solution. Designed as an end-to-end ai email agent, Dreamlit simplifies the process of sending authentication emails through Supabase while managing deliverability on its own sending infrastructure. By integrating directly with Supabase, it uses built-in auth triggers to ensure smooth operation without the need for manual SMTP configuration.

One of Dreamlit's standout features is its managed deliverability infrastructure, which handles suppression lists, bounce management, and unsubscribes automatically. This means you don't have to manage those operational concerns yourself. That said, you will still need to add DNS records (SPF and DKIM) pointing to Dreamlit's sending infrastructure for your own domain — Dreamlit walks you through exactly which records to add. Also, Dreamlit's automatic suppression lists help maintain a clean sender reputation by preventing emails from being sent to invalid or unengaged addresses.

For those building on Supabase and looking for a more cohesive solution, Dreamlit offers a compelling alternative by reducing the complexity of email infrastructure and allowing you to focus on building your app. You can also explore more about how Dreamlit can integrate with your Supabase application by visiting Lovable Cloud to Supabase exporter.

Best Practices

  • Authenticate Your Domain: Always ensure your domain is authenticated with SPF, DKIM, and DMARC to improve your sender reputation.
  • Warm Up Your IP: Gradually increase your email sending volume to build a positive reputation with ISPs.
  • Maintain List Hygiene: Regularly clean your email list to remove inactive or invalid addresses and minimize bounce rates.
  • Create Relevant Content: Craft emails that are clear and relevant to your audience, avoiding spammy language or excessive links.
  • Monitor Deliverability Metrics: Use tools to track open rates, bounce rates, and spam complaints to identify and address issues promptly.
  • Honor Unsubscribes: Ensure you comply with unsubscribe requests promptly to maintain user trust and legal compliance.

Closing

Improving the deliverability of your Supabase authentication emails is crucial for user engagement and retention. While manual configuration is possible, solutions like Dreamlit can simplify the process and enhance your email campaign effectiveness. Whether you choose to go it alone or opt for a simplified service like Dreamlit, ensuring your emails reach your users' inboxes is vital. To explore how Dreamlit can assist with your email management needs, visit Dreamlit.

Understanding the Role of Email Infrastructure in Deliverability

Effective email deliverability starts with understanding the infrastructure that supports your email sending. Supabase provides a quick start with its default SMTP server; however, this is designed primarily for development purposes. A shared server means your emails share the same IP address with potentially thousands of other users. If any of these users have poor sending practices, such as sending spam or having high bounce rates, the shared IP's reputation can be adversely affected.

For instance, if a user on the shared server triggers spam traps or has a high complaint rate, major email providers like Gmail and Outlook might flag all emails from that IP, impacting your deliverability. Transitioning to a dedicated or custom SMTP server minimizes these risks. Dedicated IPs allow you to control your sending practices entirely, helping you build and maintain a positive reputation over time.

The Impact of Content Quality on Spam Filters

Content quality is a significant factor in whether your emails end up in the spam folder. Spam filters are sophisticated systems designed to protect users from unwanted emails. They analyze both the content and structure of emails, looking for common spam indicators. These can include excessive use of promotional language, all-caps text, multiple exclamation marks, and suspicious links.

Consider an email subject line like "WIN BIG NOW!!!" compared to "Exclusive Offer for Our Valued Customers." The former is more likely to be flagged as spam due to its aggressive language and punctuation. Also, ensure that your emails contain a balance of text and images. Emails that are image-heavy with little text can appear suspicious to spam filters.

Also, broken links or links that redirect to domains different from the sending domain can raise red flags. It's crucial to keep your links concise and relevant, and ensure they direct users to the intended destination. A well-structured email that provides clear, valuable content will be more favorably received by both users and spam filters.

Integrating Feedback Loops for Improved Deliverability

Feedback loops (FBLs) are services offered by email providers that notify you when recipients mark your email as spam. Integrating these feedback loops into your email infrastructure can provide valuable insights into your audience's perception of your emails. By analyzing these reports, you can adjust your content and sending practices to reduce spam complaints and improve engagement.

For example, if you notice a particular type of email consistently results in high complaints, it might indicate that the content is not resonating with your audience. Adjusting the message, timing, or targeting of these emails can help mitigate this issue. Most major email providers, such as Yahoo and AOL, offer FBLs, and integrating them into your email strategy can significantly enhance your ability to maintain a positive sender reputation.

The Importance of Monitoring and Reporting

Regular monitoring and reporting are crucial components of an effective email strategy. Tools like Google Postmaster Tools and Microsoft SNDS (Smart Network Data Services) provide insights into how your emails are perceived by these providers. They offer data on spam rates, IP reputation, and domain reputation, which can guide your strategy adjustments.

For instance, Google Postmaster Tools can show you if your emails are being marked as spam and provide insights into why this might be happening. This data is invaluable for identifying issues and taking corrective action. Regularly review these reports and adjust your email practices accordingly. Monitoring metrics like open rates, click-through rates, and unsubscribes can also provide insights into your audience's engagement with your emails.

Enhancing Deliverability with Advanced Authentication Methods

While SPF, DKIM, and DMARC are essential authentication methods, advanced methods like BIMI (Brand Indicators for Message Identification) and ARC (Authenticated Received Chain) can further enhance your email deliverability. BIMI allows you to display your brand's logo alongside your emails in supported email clients, which can increase brand recognition and trust, potentially improving engagement rates.

ARC helps authenticate forwarded messages by preserving the original authentication results. This is particularly beneficial for emails that are forwarded through mailing lists or other intermediaries, ensuring they maintain their authenticated status and don't get caught in spam filters due to changes in transit.

Implementing these advanced authentication methods requires technical expertise and may involve collaboration with your IT or infrastructure team, but the benefits in terms of increased email deliverability and brand visibility can be substantial.

Incorporate these advanced strategies and tools into your email infrastructure to not only enhance deliverability but also improve overall email performance and user engagement. By taking a comprehensive approach to email deliverability, you can ensure your Supabase authentication emails effectively reach and engage your users.


Frequently asked questions

Why are my Supabase emails going to spam?

This often happens due to using a shared SMTP server, unauthenticated domains, or spammy content. Setting up a custom SMTP and authenticating your domain can help.

What is domain authentication, and why is it important?

Domain authentication involves setting up SPF, DKIM, and DMARC records to verify your emails as legitimate. It helps prevent them from being marked as spam.

How do I choose the right SMTP provider?

Consider factors such as pricing, ease of integration, and support for your expected email volume. Providers like SendGrid and Amazon SES are popular choices.

What is email list hygiene?

Email list hygiene involves regularly cleaning your email list to remove inactive or invalid addresses, reducing bounce rates and improving deliverability.

Is Dreamlit suitable for all databases?

Dreamlit is optimized for Supabase and PostgreSQL. It might not be ideal for teams using other databases or requiring a deep standalone CRM.

What does "warming up" an IP mean?

Warming up an IP involves gradually increasing your email sending volume to build a positive reputation with ISPs, reducing the risk of being flagged as spam.

How does Dreamlit handle unsubscribes?

Dreamlit manages unsubscribes automatically, ensuring that you comply with legal requirements and maintain a positive relationship with your audience.

About the Author

Andrew Kim
Andrew Kim

Co-Founder & CTO

Andrew is CTO and Co-Founder of Dreamlit AI. After building integrations at Netflix and leading engineering at fintech startup Bonside, he's now building the notification platform he wished he'd had all along. Full bio →

Other articles

Ajay Sohmshetty
Ajay Sohmshetty
May 23, 2025Engineering

How to Send Emails from Supabase (Beyond the 2/Hour Limit)

Supabase caps you at 2 emails per hour out of the box. Here's how to set up auth, transactional, and scheduled emails that actually scale.

Ajay Sohmshetty
Ajay Sohmshetty
Mar 7, 2026Company

4 Email Flows Your Lovable App Needs Before Going Live

A guide to auth emails, transactional emails, email blasts, and recurring emails in Lovable.

Feel the magic today

Join fast moving teams who have unlocked email as their competitive edge.