Email Deliverability Troubleshooting
Investigating email issue for {{ user_name }}
Direction: {{ email_direction }} | Platform: {{ email_platform }}
Other party: {{ recipient_or_sender }}
Decision Tree
START: What is the email issue?
│
├─ Emails Not Being SENT
│ ├─ Bounce-back / NDR received?
│ │ ├─ Yes → Analyze NDR error code (see below)
│ │ └─ No → Check outbox, stuck in queue?
│ ├─ Sending to all recipients or specific ones?
│ │ ├─ All → Account or server issue
│ │ └─ Specific → Recipient-side issue
│ └─ Attachment issues?
│ └─ Check size limits (typically 25-35MB)
│
├─ Emails Not Being RECEIVED
│ ├─ From all senders or specific?
│ │ ├─ All → Mailbox or routing issue
│ │ └─ Specific → Spam filter or sender issue
│ ├─ Check spam/junk folder
│ ├─ Mailbox full?
│ └─ Mail flow rules blocking?
│
└─ Emails Delayed
├─ Internal or external?
├─ Check mail queue on server
└─ DNS/MX record issues?
Diagnostic Steps
Step 1 — Basic Checks
Step 2 — Bounce / NDR Analysis
Common NDR codes and meanings:
| Code |
Meaning |
Action |
| 550 5.1.1 |
Recipient does not exist |
Verify recipient address spelling |
| 550 5.7.1 |
Relay denied / not authorized |
Check authentication, connector config |
| 552 5.2.2 |
Mailbox full |
Recipient needs to clear space |
| 554 5.7.1 |
Message rejected (spam) |
Check SPF/DKIM/DMARC, content filters |
| 421 4.7.0 |
Temporary failure, try later |
Server greylisting, retry automatically |
| 550 5.4.1 |
Recipient domain not found |
Verify domain exists, check MX records |
Step 3 — DNS & Authentication Records
Step 4 — Message Trace
Step 5 — Spam Filter Investigation
Escalation Criteria
Escalate to email/messaging team if:
- Mail server queue is backed up
- DNS record changes are needed
- Domain is blacklisted
- Transport rules need modification
- Multiple users affected simultaneously
Counter-Rationalizations
| Shortcut |
Counter |
Why |
| "We can skip some steps for this case" |
Adapt the workflow steps, don't skip them |
Skipped steps are where incidents and oversights originate |
| "The user seems to already know what to do" |
Complete all workflow phases with the user |
The workflow catches blind spots that experience alone misses |
| "This is a minor case, full process is overkill" |
Scale the process down, don't turn it off |
Minor cases become major when unstructured; the process scales, not disappears |
| "I'll fill in the details later" |
Complete each section before moving on |
Deferred details are forgotten; real-time capture is more accurate |
| "The template output isn't necessary" |
Always produce the structured output format |
Structured output enables comparison, audit trails, and handoff to other teams |
Output Format
Generate a diagnostic report with:
- Issue summary (user, direction, platform)
- Diagnostic findings from each step
- Root cause identified
- Resolution applied or escalation with details
1---2name: email-deliverability-troubleshooting3enabled: true4description: |5 Use when performing email deliverability troubleshooting — email delivery6 issues investigation workflow covering bounce analysis, spam filter diagnosis,7 SPF/DKIM/DMARC validation, mail flow tracing, and mailbox quota management.8 Guides helpdesk agents through systematic diagnosis of email delivery failures9 for both sending and receiving issues.10required_connections:11 - prefix: itsm12 label: "ITSM Tool (ServiceNow, Freshservice, etc.)"13config_fields:14 - key: user_name15 label: "Affected User Name"16 required: true17 placeholder: "e.g., Jane Smith"18 - key: email_direction19 label: "Issue Direction (sending/receiving/both)"20 required: true21 placeholder: "e.g., sending, receiving, both"22 - key: recipient_or_sender23 label: "Other Party Email Address"24 required: false25 placeholder: "e.g., client@external.com"26 - key: email_platform27 label: "Email Platform"28 required: false29 placeholder: "e.g., Microsoft 365, Google Workspace, Exchange On-Prem"30features:31 - HELPDESK32metadata:33 source: https://skillmd.com/skills/cloudthinker-ai/email-deliverability-troubleshooting34---3536# Email Deliverability Troubleshooting3738Investigating email issue for **{{ user_name }}**39Direction: **{{ email_direction }}** | Platform: {{ email_platform }}40Other party: {{ recipient_or_sender }}4142## Decision Tree4344```45START: What is the email issue?46│47├─ Emails Not Being SENT48│ ├─ Bounce-back / NDR received?49│ │ ├─ Yes → Analyze NDR error code (see below)50│ │ └─ No → Check outbox, stuck in queue?51│ ├─ Sending to all recipients or specific ones?52│ │ ├─ All → Account or server issue53│ │ └─ Specific → Recipient-side issue54│ └─ Attachment issues?55│ └─ Check size limits (typically 25-35MB)56│57├─ Emails Not Being RECEIVED58│ ├─ From all senders or specific?59│ │ ├─ All → Mailbox or routing issue60│ │ └─ Specific → Spam filter or sender issue61│ ├─ Check spam/junk folder62│ ├─ Mailbox full?63│ └─ Mail flow rules blocking?64│65└─ Emails Delayed66 ├─ Internal or external?67 ├─ Check mail queue on server68 └─ DNS/MX record issues?69```7071## Diagnostic Steps7273### Step 1 — Basic Checks74- [ ] Verify {{ user_name }}'s mailbox is active and not over quota75- [ ] Check mailbox size: current usage vs limit76- [ ] Verify {{ user_name }} can log into webmail (rules out client-only issues)77- [ ] Check for any active mail flow rules / inbox rules that might redirect or delete emails7879### Step 2 — Bounce / NDR Analysis8081Common NDR codes and meanings:82| Code | Meaning | Action |83|------|---------|--------|84| 550 5.1.1 | Recipient does not exist | Verify recipient address spelling |85| 550 5.7.1 | Relay denied / not authorized | Check authentication, connector config |86| 552 5.2.2 | Mailbox full | Recipient needs to clear space |87| 554 5.7.1 | Message rejected (spam) | Check SPF/DKIM/DMARC, content filters |88| 421 4.7.0 | Temporary failure, try later | Server greylisting, retry automatically |89| 550 5.4.1 | Recipient domain not found | Verify domain exists, check MX records |9091### Step 3 — DNS & Authentication Records92- [ ] Verify MX records point to correct mail servers93- [ ] Validate SPF record: `nslookup -type=txt domain.com` — look for `v=spf1`94- [ ] Validate DKIM: check selector records in DNS95- [ ] Validate DMARC: `nslookup -type=txt _dmarc.domain.com`96- [ ] If records are missing or incorrect, escalate to DNS administrator9798### Step 4 — Message Trace99- [ ] Run message trace in {{ email_platform }} admin console100- [ ] Search by sender, recipient, date range, and message ID101- [ ] Check trace results for:102 - Delivery status (delivered, failed, pending, filtered)103 - Transport rules applied104 - Spam filter verdict and confidence level105 - Connector routing path106107### Step 5 — Spam Filter Investigation108- [ ] Check if message was quarantined109- [ ] Review spam filter logs for the specific message110- [ ] If legitimate email was blocked:111 - Whitelist sender domain or address112 - Adjust spam filter sensitivity if false positives are frequent113 - Release message from quarantine114- [ ] If company emails are being marked as spam by recipients:115 - Verify SPF/DKIM/DMARC alignment116 - Check if company domain/IP is on any blacklists117 - Review email content for spam trigger words118119## Escalation Criteria120121Escalate to email/messaging team if:122- Mail server queue is backed up123- DNS record changes are needed124- Domain is blacklisted125- Transport rules need modification126- Multiple users affected simultaneously127128## Counter-Rationalizations129130| Shortcut | Counter | Why |131|----------|---------|-----|132| "We can skip some steps for this case" | Adapt the workflow steps, don't skip them | Skipped steps are where incidents and oversights originate |133| "The user seems to already know what to do" | Complete all workflow phases with the user | The workflow catches blind spots that experience alone misses |134| "This is a minor case, full process is overkill" | Scale the process down, don't turn it off | Minor cases become major when unstructured; the process scales, not disappears |135| "I'll fill in the details later" | Complete each section before moving on | Deferred details are forgotten; real-time capture is more accurate |136| "The template output isn't necessary" | Always produce the structured output format | Structured output enables comparison, audit trails, and handoff to other teams |137138## Output Format139140Generate a diagnostic report with:1411. **Issue summary** (user, direction, platform)1422. **Diagnostic findings** from each step1433. **Root cause** identified1444. **Resolution** applied or **escalation** with details