Sub topic 11
Reducing spam-filter risk and checking deliverability
This chapter assumes you have run test sends with a seed list, you know what a merge tag and a segment are, and you can read basic HTML. It also assumes you have seen the SPF, DKIM and DMARC setup from the previous chapter. Here the focus is on what mailbox providers do with a message after it passes authentication, and what you can check before the full send.
Deliverability is more than "not in spam"
Deliverability is the likelihood that a message reaches the recipient's inbox, rather than the spam folder or nowhere at all. A message can end up in one of three places:
- Inbox. The recipient sees it in the main view.
- Spam or junk folder. The provider accepted the message but filed it as unwanted.
- Rejected or blocked. The provider refused the message at the server level, and the sender gets a bounce.
Your platform's "delivered" count only tells you the receiving server accepted the message. It says nothing about folder placement. A campaign can show 99% delivered and still land mostly in spam.
Providers decide placement using several signals. Pre-send testing can check some of them and cannot check others.
| Signal | What it measures | Can you test it before sending? |
|---|---|---|
| Authentication | SPF, DKIM and DMARC pass and align with the From domain | Yes |
| Content | Wording, formatting, links, image-to-text ratio | Yes, partly |
| Sender reputation | History of the sending domain and IP address | Only by looking at past results |
| Engagement | Opens, clicks, replies and deletions by past recipients | No, only monitored |
| List quality | Bounce rate, spam complaints, spam-trap hits | Partly, through list hygiene |
Content is the part you control most directly in a single campaign. Reputation and engagement build up over many sends, so a single clean test cannot prove them.
How filters evaluate a message
Spam filters rarely use a single rule. Most combine many weak signals into a score, and the message is filed as spam when the score passes a threshold. Large providers also use machine-learning models trained on what their own users mark as spam, so the exact rules are not public and change over time.
That has two consequences for testing:
- A tool that gives a "spam score" is an estimate based on a fixed rule set. A good score does not guarantee inbox placement.
- A single risky element rarely sinks a message by itself. Several together often do.
Content patterns that raise risk
These patterns are common in messages that get filtered. Check each one during content review.
- Deceptive subject lines. A "Re:" or "Fwd:" prefix on a message that is not a reply, or a subject that does not match the content.
- Shouting and excess punctuation. All-caps words, runs of exclamation marks, or symbols such as "$$$".
- Image-only emails. A message made of one large image with little or no text gives filters nothing to evaluate. It also fails for people who block images.
- Link problems. URL shorteners, links whose visible text shows a different domain than the real destination, and links to domains with a poor reputation.
- Broken or sloppy HTML. Unclosed tags, hidden text, or markup copied from a word processor.
- Missing plain-text part. A message with only an HTML part looks more like bulk mail than one with a matching plain-text alternative.
- Large attachments. Executable files and some archive types are often blocked, and attachments in bulk mail are a risk factor in general. Link to a file instead.
Trigger words matter less than people think. A word like "free" in an otherwise normal email does not usually cause filtering. A tone that looks deceptive or pushy, combined with weak technical setup, does.
A quick link-and-tracking check
Links are one of the easiest things to check by script. The script below reads a saved copy of the email HTML, requests each link, and flags links that fail or lack a utm_campaign parameter. Some servers reject HEAD requests, so a failure needs a manual check.
import re
import sys
from urllib.error import HTTPError, URLError
from urllib.parse import parse_qs, urlparse
from urllib.request import Request, urlopen
def extract_links(html):
return re.findall(r'href="(https?://[^"]+)"', html)
def status_of(url):
req = Request(url, method="HEAD", headers={"User-Agent": "link-check"})
try:
with urlopen(req, timeout=10) as resp:
return resp.status
except HTTPError as err:
return err.code
except URLError as err:
return str(err.reason)
with open(sys.argv[1], encoding="utf-8") as f:
html = f.read()
for url in extract_links(html):
params = parse_qs(urlparse(url).query)
has_utm = "utm_campaign" in params
print(status_of(url), "utm_campaign" if has_utm else "NO-UTM", url)For deliverability, the useful part is the list of destination domains. Look for any link that points to a domain you do not recognize, a shortener, or a page that returns an error.
Authentication records, revisited
Authentication is the technical base for everything else. A message that fails it may be rejected or filed as spam regardless of its content. The records look like this, with placeholder names that you replace with the values your email provider documents:
example.com. IN TXT "v=spf1 include:_spf.mail-provider.example ~all"
_dmarc.example.com. IN TXT "v=DMARC1; p=none; rua=mailto:[email protected]"The second record is a monitoring-only DMARC policy. With p=none, providers send you reports about who is sending mail as your domain but take no action on failures. Many senders start there and tighten the policy later.
Two points matter for testing:
- Alignment. DMARC passes only when the domain that passed SPF or DKIM matches the domain in the visible From address. A message can pass SPF for your provider's domain and still fail DMARC.
- Check the real message, not the DNS alone. Send a test to a mailbox you control, open the full message headers, and look for
spf=pass,dkim=passanddmarc=passin theAuthentication-Resultsheader.
Checking placement with seed accounts
Your seed list from earlier chapters can double as a placement test. Include accounts at the major providers your audience uses, such as Gmail, Outlook and Yahoo, plus any regional provider that matters to you.
For each seed account, record:
- Which folder the message landed in (inbox, promotions or other tab, spam).
- Whether images and links displayed normally.
- Whether the
Authentication-Resultsheader shows a pass for all three checks.
Some deliverability tools offer a managed seed network and report placement by provider. These are useful, but treat the numbers as a sample. Seed accounts have no history of engagement with your brand, so their placement can differ from that of your real subscribers.
Placement tabs are not failure
Some providers sort mail into tabs, for example a promotions tab in Gmail. Landing in a tab other than the primary one is normal for marketing mail. It is not the same as landing in spam, and you should not distort the content to force a different tab. Record it and compare it across campaigns.
Reputation and list health
You cannot fix sender reputation on the day of the send, but you can avoid damaging it. Check these before launch:
- Recent bounces. Remove addresses that have hard-bounced. A hard bounce is a permanent delivery failure, such as an address that does not exist.
- Old, inactive contacts. Mailing a large block of people who have not engaged in a long time raises complaint and spam-trap risk. Consider a re-engagement campaign or a suppression rule first.
- Purchased or scraped addresses. Never include them. They produce complaints and spam-trap hits.
- Volume jumps. A sudden large increase in volume from a domain with little history looks suspicious. This is one reason to use a staged send, covered later in this tutorial.
- Complaint rate. Providers watch the share of recipients who press the "report spam" button. Keep it low, and make the unsubscribe link easy to find so people use it instead.
The flow below summarizes how these checks fit before a send.
Common errors
- Trusting a spam score alone. A score from one tool reflects its own rules. Combine it with header checks and seed placement.
- Testing from a different sender. Results do not carry over from another From address or domain.
- Passing SPF but failing alignment. The email looks authenticated in the headers but fails DMARC.
- Ignoring the plain-text part. It is easy to forget, and its absence is a known risk factor.
- Fixing content when the cause is reputation. If a clean message still lands in spam across all providers, the problem is more likely the domain, the IP address or the list.
- Treating the delivered count as inbox placement. It measures acceptance only.
Reading the first results after sending
Deliverability checking continues after the send. In the first hours, watch these numbers in your platform:
- Bounce rate, split into hard and soft bounces.
- Spam complaint rate, if your platform reports it.
- Open and click rates compared with your recent campaigns. Open rates are an imperfect measure, because some mail apps load images automatically, but a sharp drop compared with your norm for the same provider suggests a placement problem.
If one provider shows a sharp drop while the others look normal, the issue is usually specific to that provider. Pause the remaining sends if you can, and investigate before continuing.
Exercise
A test send to your seed list shows "delivered" for every account, but the Gmail seed account has the message in spam. The headers show spf=pass, dkim=pass and dmarc=fail. What is the most likely cause, and what should you check first?
Show answer
The most likely cause is a DMARC alignment failure. SPF and DKIM can pass for the email provider's own domain, but DMARC requires the passing domain to match the domain in the visible From address. Check how the sending domain is configured with your provider, usually by setting up a custom DKIM signature or a custom return-path for your own domain, and send another test. "Delivered" only means the server accepted the message, so it does not rule out spam placement.
Exercise
Name three content-related checks you can run before a send that reduce spam-filter risk, and one signal that a pre-send test cannot measure.
Show answer
Any three of: confirm the subject line matches the content and is not deceptive; make sure the email has real text and not only a large image; check that links go to the expected domains and avoid URL shorteners; include a matching plain-text version; keep the HTML clean; avoid large or executable attachments. A pre-send test cannot measure sender reputation built over time or the engagement of real subscribers, although you can review past results for hints.