Works with the AI Agents you already use
Email Bounce Decoder: Fix Gmail 5.7.26, Outlook 5.7.515 & Yahoo TSS Bounces
by Hamza Alayed
Turns pasted bounces and NDRs into a ranked report: root cause, fix owner, retry-or-suppress decision, exact DNS/app fix and a verification check.
$1
Email Bounce Decoder: Fix Gmail 5.7.26, Outlook 5.7.515 & Yahoo TSS Bounces
Example session with this skill installed
Our Laravel app sends from shop.example through SendGrid. These started bouncing this week:
550-5.7.26 This mail has been blocked because the sender is unauthenticated ... DKIM = did not pass SPF [shop.example] with ip: [203.0.113.10] = did not pass - gsmtp
421-4.7.32 ... the From: header (RFC5322) in this message isn't aligned with either the authenticated SPF or DKIM organizational domain - gsmtp
550 5.7.515 Access denied, sending domain SHOP.EXAMPLE does not meet the required authentication level. (outlook.com)
550-5.1.1 The email account that you tried to reach does not exist - gsmtp
452-4.2.2 The recipient's inbox is out of storage space - gsmtp
- Read your context and instructions
- Compiled the email bounce decoder
Bounce Diagnosis Report — shop.example — 2026-11-18
Verdict: Mail is not authenticated with your own domain at SendGrid; Gmail and Outlook.com reject or throttle it. Fix owner: sender DNS. Severity: Critical.
Bounces analysed: 5 · Distinct root causes: 3 · Unknown: 0
Root causes
| # | Root cause | Category | Provider(s) | Bounces | Fix owner | Retry | Severity |
|---|---|---|---|---|---|---|---|
| 1 | SPF and DKIM not passing for shop.example | AUTH | Gmail, Outlook.com | 2 | sender-dns | no (fix, then resend) | Critical |
| 2 | From not aligned with SPF/DKIM domain | ALIGN | Gmail | 1 | sender-dns | fix-then-retry | High |
| 3 | Invalid recipient | RECIPIENT | Gmail | 1 | list-hygiene | no — suppress | Low |
| – | Recipient mailbox full | TRANSIENT | Gmail | 1 | receiver | yes | Low |
Fix 1 + 2
- Evidence: Gmail 550 5.7.26 "DKIM = did not pass, SPF … did not pass"; Outlook 550 5.7.515 "required authentication level"; Gmail 421 4.7.32 "isn't aligned".
- Fix: In SendGrid, complete domain authentication for shop.example (CNAMEs for the DKIM selectors and a branded Return-Path), so DKIM signs with d=shop.example. Keep one SPF record. Add
_dmarc.shop.example TXT "v=DMARC1; p=none; rua=mailto:dmarc@shop.example". - Verify:
dig +short TXT _dmarc.shop.examplereturns v=DMARC1; a new test to Gmail showsdkim=pass header.d=shop.exampleanddmarc=passin "Show original". - Do NOT suppress the recipients from bounces 1–3; resend after verification.
Suppression list
j***@gmail.com (550 5.1.1)
Not verified
DNS was not queried in this run — run the dig commands above.
Connects securely to your tools. The creator never sees your data.
About this skill
Paste any bounce — an "Undeliverable" NDR, a MAILER-DAEMON message or hundreds of mail-log lines — and get a ranked Bounce Diagnosis Report: which provider rejected it, what the code means according to that provider's own documentation, who has to fix it, whether to retry or suppress, the exact DNS or app fix, and a check that proves the fix worked.
Why it exists: one code can mean many things. Gmail's 550 5.7.1 alone has a dozen documented meanings, and 550 5.7.26 can be an unauthenticated sender, an SPF hard fail or a DMARC reject. This skill classifies on the code and the wording, using dated code tables for Gmail, Outlook.com / Microsoft 365 and Yahoo (checked against official pages on 18 Nov 2026).
What you get
- 13 root-cause categories (AUTH, ALIGN, DMARC-POLICY, PTR-TLS, REPUTATION, RATE, RECIPIENT and more) with a fix owner for each
- Retry vs. suppress decisions — including the common trap of an ESP suppressing valid recipients after an authentication bounce
- Exact SPF, DKIM, DMARC and one-click unsubscribe patterns, plus
digand header checks with pass conditions - Correct escalation routes (Outlook.com S3150 vs. Microsoft 365 delist portal vs. delist@microsoft.com; Yahoo TSS deferrals)
- Gmail, Outlook.com and Yahoo bulk-sender checklist when volume is high
- Optional standard-library Python classifier for fast first-pass triage of large bounce files (no network calls)
Covers codes like 550 5.7.26, 421 4.7.32, 4.7.27, 4.7.30, 5.7.40, 550 5.7.515, 5.7.509, 5.7.511, S3150, 553 TSS09, 421 TSS04, 554 5.7.9 and 5.1.1.
Diagnoses bounces only: it cannot see inbox-vs-spam placement, Postmaster Tools data or blocklist status by itself. It does not change DNS, contact providers or send mail. Provider code meanings were checked on 2026-11-18 and providers can reword or add codes; unmatched bounces are reported as UNKNOWN rather than guessed. Not legal advice on email marketing law.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 16 days ago
- Software
- Bounce text, NDRormail log
- Optional
Python 3 (bundled classifier)
digornslookup (DNS checks)
Permissions
File Scopes
The classifier reads local text only and makes no network calls. DNS checks use dig/nslookup only when the user allows a terminal.
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.