Inbox vs. Spam: How DNS Configuration & Email Templates Affect Your Email Success

Illustration of an anthropomorphic tiger with orange fur and black stripes, wearing a black shirt. The tiger has a serious expression and crossed arms, set against a light yellow background.
Smiling person with a beard and short hair against a black background, wearing a black top.
A person with long blonde hair is looking at the camera. They are wearing a black top and are indoors, with a neutral expression and soft lighting.
A person with short hair and a beard wearing a patterned shirt stands outdoors with a sunset in the background. The sky is a gradient of blue, orange, and pink, and a body of water is visible in the distance.
Talk with a
deliverability expert!

Content:

    One of the essential factors for any successful email outreach strategy is email deliverability. It doesn’t matter if you are sending cold emails, marketing campaigns, or transactional messages—they all rely on a few elements to ensure that they actually land in the inbox and not the spam folder. 

    This is where DNS email authentication protocols come into play—SPF, DKIM, and DMARC—these three have a crucial role in proving the legitimacy of your messages.

    But how much do DNS configurations really impact deliverability? And does even the type of email template you use (plain text vs. HTML) affect your inbox placement?

    Warmy’s research team set out to answer these questions by conducting a rigorous and data-driven experiment. We analyzed email deliverability data by testing real-world scenarios with different DNS setups and email content formats.

    A bar chart titled Inbox Rate Comparison Between Configured and Misconfigured DNS Domains, showing inbox rate and spam rate for new and old configured and misconfigured domains. Blue bars represent inbox rate; red bars represent spam rate.

    Understanding the core DNS records: SPF, DKIM, and DMARC


    DNS (Domain Name System) records act as the internet’s address book. It is responsible for converting domain names to IP addresses and controlling different domain-related issues and settings.

    For example: When it comes to email deliverability, the DNS records allow mail servers to verify if an email originated from a trusted sender. A well-configured set of DNS records (SPF, DKIM, and DMARC) minimizes the risk of spoofing, phishing attacks, and spam classification, which means your emails are more likely to land in the inbox. 

    With that said, if you do not specify the right DNS records, even legitimate emails can be delivered in the spam folder. That’s also why SPF, DKIM, and DMARC are so important—they are all part of a trust mechanism between senders and email providers to ensure emails are from legitimate sources and aren’t being tampered with.

    SPF (Sender Policy Framework) prevents spoofing

    • SPF is a DNS record that specifies which mail servers are authorized to send emails on behalf of a domain.
    • Receiving email providers then check SPF records to verify that the sending server is an authorized sender.
    • Without SPF, unauthorized parties could send fraudulent emails that appear to come from your domain. Without a proper or missing SPF record, your emails are more likely to be rejected or marked as spam.

    DKIM (DomainKeys Identified Mail) ensures email integrity

    • DKIM appends a cryptographic signature to the email, confirming that it hasn’t been manipulated while in transit.
    • When an email is sent, it is digitally signed using a private key. The recipient’s email provider checks this signature against the public DKIM key stored in the sender’s DNS records. If they match, the email is considered authentic.
    • DKIM prevents attackers from modifying emails in transit and adds an extra layer of credibility to your messages. Many providers (e.g., Gmail, MS365) heavily rely on DKIM for spam filtering decisions.

    DMARC (Domain-based Message Authentication, Reporting, and Conformance) enforces email security

    • DMARC builds on SPF and DKIM by specifying how email providers should handle messages that fail authentication.
    • A DMARC policy tells email providers whether to monitor (p=none), quarantine (p=quarantine), or reject (p=reject) emails that fail SPF and DKIM checks.
    • Without DMARC, cybercriminals can spoof your domain and send phishing emails on your behalf. A properly enforced DMARC policy boosts inbox placement and email security.

    The experiment: Uncovering DNS records’ impact on email deliverability

    While SPF, DKIM, and DMARC improve deliverability, many senders still struggle with misconfigured DNS settings. To quantify their impact, we conducted a study testing how different configurations affect inbox vs. spam placement.

    Experiment objectives:

    • Validate DNS configurations: Ensure that SPF and DKIM are correctly set up across all tested domains.
    • Assess DMARC implementation: Determine the current state of DMARC configuration and how it impacts email security and deliverability
    • Evaluate deliverability: Analyze inbox vs. spam placement when sending emails from a Gsuite account to different providers, including Gmail, MS365, Outlook, Yahoo, Zoho, and SMTP-based services.
    • Examine template impact: Investigate whether the email content type (non-HTML vs. HTML) influences inbox vs. spam placement.

    The major players: New vs. Old; Configured vs. Misconfigured

    We tested four distinct datasets representing different domain types and configuration to fully understand the impact of DNS configurations. Our study focused on four distinct datasets, each representing a different combination of domain age and DNS configuration.

    1. New Domains (Configured DNS): Recently registered domains with correctly set SPF, DKIM, and DMARC.
    2. New Domains (Misconfigured DNS): Recently registered domains with partial or incorrect DNS configurations.
    3. Old Domains (Configured DNS): Older domains with properly configured DNS records.
    4. Old Domains (Misconfigured DNS): Older domains with misconfigurations in SPF, DKIM, or DMARC

    By testing these four categories, we aimed to answer critical questions about DNS configurations, domain age, and email deliverability and how they all tie together:

    • Does a new domain with perfect DNS settings still struggle with inbox placement due to a lack of reputation?
    • Can an old domain with misconfigured DNS settings still land in the inbox based on reputation alone?
    • Which providers are more sensitive to DNS misconfigurations, and which ones prioritize domain reputation?
    • Does proper DNS configuration always guarantee better deliverability?

    Behind the scenes: how the experiment was executed

    To simulate real-world email delivery conditions, we used a controlled Gsuite email account as the sender and delivered test emails to multiple recipient domains. This ensured consistency in sending conditions while allowing us to isolate the impact of DNS records.

    The emails were sent to a range of email providers, each with different spam filtering policies and authentication requirements:

    • Gmail (including Gsuite)
    • Microsoft 365 (MS365)
    • Outlook
    • Yahoo
    • Zoho and ZohoPro
    • SMTP-based services

    Tools & metrics: what we measured

    To collect reliable data, we used a combination of the following tools:

    • DNS lookup utilities and configuration testing tools
    • Email sending simulators for sending of the test emails
    • Deliverability analytics platforms to track inbox placement, spam rates, and record validation status

    The metrics we tracked were:

    • DNS validation: Status of SPF, DKIM, and DMARC records for each domain and if they matched expected configurations
    • Deliverability outcomes: We tracked whether emails landed in the inbox or spam folders.
    • Template effectiveness: Inbox placement rates for non-HTML (plain text) vs. HTML emails
    • Provider-specific performance: How each email provider responded to various domain types and authentication settings.

    Testing structure

    • Each domain type was tested under controlled email dispatch conditions to ensure fair and unbiased comparisons. 
    • Additionally, we sent a series of emails (ranging from five to 15 per test batch) from each domain category to the different providers. 
    • These emails were a mixture of HTML and text-based. Specifically, we created two templates that we internally labeled as “Inbox” and “Spam” so we could gauge filter sensitivity. “Inbox” templates were those that were not deliberately selling something. They don’t contain words related to purchasing anything. Meanwhile, the “Spam” templates were templates that were heavenly customized for marketing.

    The moment of truth: results and key findings

    After analyzing email deliverability across different domain types, DNS configurations, and email content formats, the results revealed clear patterns in how different factors influence inbox vs. spam placement. 

    Key finding #1: Proper DNS configurations lead to higher inbox rates

    Emails from domains with correctly configured SPF and DKIM records were significantly more likely to land in the inbox across most providers. 

    • In fact, properly configured SPF, DKIM, and DMARC domains typically achieved 70%+ inbox rates and misconfigured datasets had significantly lower rates.
    • Meanwhile, misconfigured domains frequently saw spam rates above 50%—with DMARC misalignment as the culprit for the steepest drop. 
    • Despite correct DNS records, new configured domains still showed lower deliverability, suggesting that there is heightened scrutiny for newly registered domains.
    • In general, older domains performed better, suggesting that domain reputation also plays a big role in email deliverability.

    🔖 Related research report: The Science and Process of Warming Up Newly Created Email Domains discusses how long it takes to warm up a newly created domain. This report takes a deep dive into this topic.

    Key finding #2: Email template type affects deliverability

    One of the most striking findings was the difference in deliverability between text-based and HTML emails across various providers.

    In the experiment, we had both text-based emails and HTML emails that followed both the “Inbox” template and the “Spam” template. 

    The “Inbox” template is a template that we created to simulate non-marketing emails. They were text-based, did not attempt to sell anything, and did not contain words like “buy,” “free,” “deal,” and the like. Based on the industry knowledge, emails configured in such a way tend to avoid commonly known spam filter triggers.

    The “Spam” template is basically the opposite. These are obviously marketing emails that contained all the words we avoided in the “Inbox” template. They were also heavily customized for marketing purposes.

    • Text-based emails had higher inbox placement rates across most providers. MS365 and Outlook particularly favored text-based emails and applied strict filtering to HTML-heavy emails.
    • HTML emails are more likely to be filtered as spam—especially when sent from new or misconfigured domains. 
    • Findings show that while proper DNS configurations improve inbox placement, email content type is still very much a critical factor.
    Bar chart comparing inbox and spam rates for text and HTML email templates. Inbox TEXT has the highest rate, followed by Inbox HTML. Spam TEXT and Spam HTML have lower rates. Background is a gradient of soft yellow to orange. Logo at the bottom.

    Key finding #3: Provider-specific deliverability trends

    Different email providers apply unique filtering rules, impacting inbox placement depending on DNS configurations and email content:

    • In general, Gsuite/Gmail was more lenient when it came to various template types—but DMARC absence was still penalized. 
    • On the other hand, M365 prefers text-based emails and DNS misconfigurations rendered substantial spam rates. 
    • Outlook, on the other hand, flags HTML content as spam unless DNS is fully aligned.
    • Yahoo showed the highest spam filtering rates, regardless of configuration.

    This table summarizes other key findings in this area.

    A table comparing GSuite email deliverability findings. Columns include Sender (GSuite), Receiver (various email services), and Findings. Highlights include spam issues, template dependency, and importance of SPF, DKIM, and DMARC settings. Warmy logo displayed.

    *Testing issue: Inadequate DKIM verification hindered the accuracy of tests for some providers (e.g., MS365). Without manually ensuring DKIM is properly configured in DNS, reliable testing outcomes cannot be guaranteed.

    Analysis: what does this mean for the future of email deliverability?

    As email security measures evolve, DNS authentication and content formatting will play an even greater role in determining whether emails land in the inbox or spam folder. 

    Proper SPF, DKIM, and DMARC authentication will remain non-negotiable. SPF and DKIM are no doubt essential for proving email authenticity, reducing spam classification, and ensuring email security. However, DMARC configuration is the game-changer as a non-enforcing DMARC policy can undermine benefits provided by SPF and DKIM.

    New domains will require reputation-building and warming strategies to gain trust. New configured domains showed the worst deliverability, further emphasizing the fact that new domains are subject to increased scrutiny from ESPs.

    Plain text emails will continue to outperform HTML-based emails, especially in highly filtered environments like MS365 and Outlook. Email template type turned out to be a decisive factor, suggesting that content format should be a key consideration and strategy for deliverability.

    Tailored strategies will help dictate email deliverability. There are marked differences among providers. For example, while Gmail, Gsuite, and MS365 are sensitive to DNS configurations, Outlook and Yahoo tend to filter emails into spam regardless, highlighting the

    need for tailored configuration strategies based on the target provider.

    Warmy.io—going above and beyond DNS records

    Warmy.io helps businesses simplify their DNS authentication setup:

    • The Free SPF Record Generator instantly generates the correct SPF record for your domain to help prevent configuration errors. This ensures proper sender authorization and reduces spam classifications. 
    • The Free DMARC Record Generator creates an optimized DMARC record for maximum email security, allowing you to enforce policies gradually.

    Configuring SPF, DKIM, and DMARC correctly is essential for improving email deliverability, but DNS authentication alone is not enough to guarantee inbox placement. Many senders struggle with other issues like blacklisting risks and poor domain reputation, which can severely impact email success. 

    Warmy doesn’t just check your DNS records—it optimizes your entire email-sending strategy to ensure your messages consistently land in the inbox. Here’s an overview of how Warmy does this:

    • AI-powered email warmup and advanced seed lists. New domains struggle with deliverability—even with perfect DNS settings. Warmy.io helps overcome this challenge by gradually increasing your sending reputation through automated email warmup which involves automatically sending and receiving warmup emails to gradually build trust with ESPs.
      • Advanced seed lists per ISP that mimic natural human behavior, such as opening emails, replying, clicking on links, and even moving emails out of the spam folder.
    • Deliverability monitoring & inbox placement tests. Even if your DNS records are correct, you still need to track where your emails are landing. Warmy.io’s free deliverability test provides data on the percentage of emails that go to inbox, spam, or promotions. The test also alerts you if your domain or IP is flagged by major blacklists.
    • Warmy’s Domain Health Hub gives an even more comprehensive set of data and metrics which users can track at the domain level. This includes spam rates, inbox placement, and deliverability trends on a weekly & monthly basis.

    Get a more detailed breakdown of this report by downloading your own copy here. 

    Do you want more custom experiments and research like this? Check out our previous report: Maximizing Email Deliverability: Grouped vs. Randomized Sending.

    Picture of Daniel Shnaider

    Article by

    Daniel Shnaider

    Picture of Daniel Shnaider

    Article by

    Daniel Shnaider

    An icon depicting a closed white envelope resting in an open, empty white tray with a blue interior background.

    Get the week’s
    best marketing content

      *You can unsubscribe anytime
      An icon depicting a closed white envelope resting in an open, empty white tray with a blue interior background.

      Get the week’s
      best marketing content

        *You can unsubscribe anytime
        Download our report for free

        Related Post

        If your emails are suddenly bouncing back with SMTP Error 421 4.7.28, your IP address has been temporarily blocked by

        Have you hit a roadblock with SMTP Error 550 5.5.3? You’re not alone. This error is like an invisible barrier

        Today, ensuring your messages land in the inbox (not the spam folder) is considered a crucial business aspect. Email marketers,

        Individuals and businesses rely on email for communication for countless reasons. And so it can be incredibly frustrating when your

        Scroll to Top