Password reset and welcome emails in spam with SPF, DKIM, DMARC passing
Passing SPF, DKIM and DMARC proves who sent a message, not that Gmail trusts it. Transactional mail still lands in spam when the domain is new, links are tracked through a shared domain, the HTML is malformed, or the message looks like marketing. Check these causes in order.
Sohail Hussain9 min readShort answer
- Passing SPF, DKIM and DMARC proves who sent the message; it does not make Gmail trust it. Spam placement then comes from domain reputation, tracked links, malformed HTML and marketing signals such as an unsubscribe link.
- Fix in this order: confirm DKIM aligns with your own domain, turn off click tracking on reset emails, send a full HTML document with a plain-text part, and drop the unsubscribe link from pure security mail.
Your password reset or welcome email shows spf=pass, dkim=pass and dmarc=pass, and it still lands in the spam folder. People on provider community forums report this with Postmark, Resend, SendGrid, Mailgun, SES and Supabase. One report describes a Laravel site flagged by all four providers after leaving Gmail SMTP. Another describes an SES-based LMS whose invites went to spam on a dedicated IP. Since it happens on every provider, the provider is rarely the root cause.
Why it happens
Authentication is a gate, not a verdict. Google's own guidance says authenticated messages are less likely to be rejected or marked as spam by Gmail, which is not the same as inboxed. After the gate, filters score reputation and content. The usual causes for transactional mail, most common first:
| Cause | Symptom | Fix |
|---|---|---|
| New domain or subdomain with no history | Spam on first sends, all providers | Keep sender stable; build volume slowly |
| DKIM signed by provider's domain, not yours | header.d shows provider domain | Finish custom domain setup |
| Shared click-tracking domain | Reset link points to a redirect host | Disable tracking or use a custom tracking domain |
| Malformed or image-heavy HTML | Spam in Gmail only | Full HTML document plus plain-text part |
| Unsubscribe link or header on security mail | Treated as marketing | Remove it from reset and verification mail |
| Cold dedicated IP | Low volume, no IP history | Consider a shared pool until volume is steady |
| Mixed streams on one domain or IP | Marketing complaints hurt resets | Separate subdomains |
Step-by-step fixes
1. Confirm alignment, not just a pass
- Open one affected message in Gmail and choose Show original.
- Read the
Authentication-Resultsheader, or paste the headers into the email header analyzer. - Check that
header.din the DKIM line is your domain, not the provider's.
dkim=pass header.d=example.com
spf=pass smtp.mailfrom=bounces.example.com
dmarc=pass header.from=example.com
Gmail needs only one of SPF or DKIM aligned for DMARC, but it recommends fully aligning DMARC to both SPF and DKIM. If DKIM is signed by the provider's domain, finish the provider's domain verification so it signs with yours. Also never send From a free mailbox address such as gmail.com through a third-party service; it cannot align. See what DMARC checks.
2. Turn off click tracking on security emails
Click tracking rewrites each URL to a redirect. As SendGrid's documentation puts it, click tracking points links to SendGrid's servers or to the domain you branded your link with. A reset link that lands on a shared host looks odd and ties you to other senders' reputation.
- In your provider's dashboard or API settings, disable click tracking for password reset and verification mail. Open tracking adds little there too.
- For welcome emails where you want tracking, set up a custom tracking domain on your own subdomain through a CNAME. Amazon SES supports this through configuration sets; its docs describe specifying a custom domain for open and click tracking.
- Keep visible link text and the real URL on the same domain. No URL shorteners.
Tip
A reset token passing through a third-party redirect is also a small security exposure, so leaving tracking off on these messages costs you nothing you need.
3. Send a complete HTML document and a plain-text part
Users report that wrapping templates in proper html and body tags made the difference at Gmail. I can't verify that for your case, but malformed markup is a cheap signal to fix. Google's sender guidelines also ask senders to format messages according to RFC 5322.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Reset your password</title>
</head>
<body>
<p>Hi Sam,</p>
<p>Use this link to reset your password: ...</p>
</body>
</html>
Send a plain-text alternative alongside it where your provider allows. Avoid image-only bodies, hidden text and big banners; a reset email should look like a short note.
4. Remove the unsubscribe link from pure security mail
Replies in community threads say dropping the unsubscribe link from transactional mail helped, because it signals marketing. That is a user report, not a documented rule. It fits how mail is classified: password resets are transactional, and CAN-SPAM does not require an unsubscribe link in them.
- No unsubscribe link and no
List-Unsubscribeheader on resets, verification codes and receipts. - Welcome emails are a gray area. If yours contains promotion, treat it as marketing and keep the link.
- Do not mix both kinds in one stream. See transactional vs marketing emails.
5. Separate streams and keep the sender stable
Send transactional mail from its own subdomain, such as accounts.example.com. Google advises using a different IP address for each message type, for example one for account notifications and another for promotions. Keep the From name and address constant between tests.
In your own test mailboxes, click Not spam and reply. That nudges a handful of messages; it does not fix reputation at scale. Reputation builds over days to weeks. Google notes that it can take time for improvements to reflect in spam classification.
6. Don't assume a dedicated IP is safer
A fresh dedicated IP has zero history, and a few hundred messages a day gives receivers little to judge. Google recommends starting with low volume to engaged users and increasing slowly. For low-volume transactional mail, a well-managed shared pool is often the better choice. I'd move to dedicated only when volume is steady. See what warm-up involves.
7. Clean up the content
- Use literal subjects such as "Reset your password".
- One link, to your own domain.
- No promo blocks, footer pitch or "limited time" language.
- Include something the recipient recognizes, such as the site name.
Measure instead of guessing
- Send the same message to Gmail, Outlook and Yahoo test addresses and note where each lands.
- Score a sample with a tool such as mail-tester as a rough header and content check. It is not proof of inbox placement; see seed list testing.
- Add your domain to Postmaster Tools. Google warns that if traffic to personal Gmail accounts is too low, dashboards might not include data for your domain, so a small site may see nothing. Its Postmaster guide here covers what you will get. Google's Postmaster Tools dashboards page lists the reputation, spam rate and authentication views.
- Check your sending IP and domain against common blacklists. Delisting happens with the list operator, not your provider.
Warning
If Postmaster Tools shows a user-reported spam rate above 0.1%, fix that before touching templates. Google says to keep it below 0.1% and never reach 0.3%.
Checklist before you try again
- DKIM
header.dmatches your From domain - DMARC record published, at least
p=none - Click tracking off for reset and verification mail
- Full HTML document plus plain-text part
- No unsubscribe link or
List-Unsubscribeheader on security mail - Transactional mail on its own subdomain
- Same From name and address as earlier sends
- One link, to your own domain
If nothing works
Open a ticket with your sending provider; support can see IP pool reputation and abuse flags you cannot. If only Gmail is affected, check the Postmaster Tools compliance view first. Include the raw headers of one spam-foldered message, the timestamp with time zone, the From domain and the sending IP.
Subject: Transactional mail delivered to spam despite SPF, DKIM and DMARC pass
Hello,
Password reset emails from {your-domain} are landing in spam at Gmail
(also tested: {Outlook / Yahoo}). Authentication passes:
spf=pass, dkim=pass header.d={your-domain}, dmarc=pass.
Example message sent: {date and time, time zone}
Sending IP: {ip}
From: {address}
Message ID: {message-id}
Raw headers attached.
Already done: click tracking disabled, full HTML plus plain text,
no unsubscribe header, separate subdomain.
Can you check IP pool reputation and any flags on our account?
Where Mailneo fits
Mailneo does not send transactional mail, so it won't replace Postmark, Resend or SES here. It helps with diagnosis: the free header analyzer reads authentication results, and for mailboxes you connect, Mailneo checks your sending domain's SPF, DKIM and DMARC records and common DNS blacklists. It can't change your DNS, remove a blacklisting or guarantee inbox placement. See the connected accounts docs.
Common questions
Does passing DMARC guarantee the inbox?
No. DMARC confirms the From domain is authorized. Spam filtering then weighs reputation, engagement and content.
Should a welcome email have an unsubscribe link?
If it is purely functional, such as confirming an account, leave it out. If it promotes products or content, treat it as marketing and include a working link.
Is custom tracking domain or no tracking better?
For resets, no tracking is simplest. For welcome emails where you want click data, a custom tracking domain on your own subdomain avoids sharing a host's reputation.
Why does Postmaster Tools show nothing?
Google says dashboards may be empty when Gmail volume is too low, to protect user privacy. Rely on test inboxes and header checks until volume grows.
Explore: Email Deliverability
Related Articles
Amazon SES account under review: bounce rate pause fix
When Amazon SES puts your account under review or pauses sending, your bounce or complaint rate crossed its limits. Stop sending to the bad segment, suppress every bounce and complaint through SNS events, keep sending small volumes to clean recipients, and answer the AWS case with documented causes and fixes.
Amazon SES emails going to spam when SPF, DKIM and DMARC pass
When SES mail lands in Gmail spam with SPF, DKIM and DMARC passing, authentication is rarely the cause. The usual culprits are a new domain sent at full volume, a gmail.com From address, links Gmail doesn't trust, or low engagement. Read the headers first, then ramp volume and fix content.
SES "Email address is not verified" but it shows verified
Amazon SES returns "Email address is not verified" when the identity isn't verified in the region your code calls. Identities are per region, so compare the region in the error, the SDK client and the console, then verify the identity there or change the client's region.
Amazon SES production access denied: how to get approved
When Amazon SES denies production access with "reasons cannot be provided due to security reasons", reply on the same support case with specifics: use case, list source and consent, bounce and complaint handling through SNS, opt-out method, and a sample email. Ask for a second review. If that fails, use another sender.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free