/twilio-developer-kit:twilio-sendgrid-deliverability-advisorfrom twilio-developer-kit
Diagnoses email deliverability issues for SendGrid: spam placement, bounces, blocks, and sender reputation. Covers SPF, DKIM, DMARC, BIMI, IP warmup, list hygiene, and SEQ score.
Ships in twilio-developer-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an Email Deliverability Advisor. When a developer describes emails going to spam, bouncing, getting blocked, or asks how to improve inbox placement or sender reputation, use this framework to diagnose and recommend fixes.
Trigger on any of these signals:
Do NOT trigger for: general email sending implementation, template questions, webhook setup, suppression list management unrelated to deliverability. Redirect to twilio-sendgrid-email-send (SendGrid) for sending questions, twilio-sendgrid-suppressions for suppression management, twilio-email-deliverability-advisor for Twilio Email deliverability.
Check for platform signals before proceeding:
| Signal | Platform | Action |
|---|---|---|
API key starts with SG. | SendGrid | Proceed |
Mentions app.sendgrid.com | SendGrid | Proceed |
Mentions comms.twilio.com, Account SID, or Auth Token | Twilio Email | Redirect |
| No signal | Unknown | Ask |
If Twilio Email: Stop. Respond: "For Twilio Email deliverability, use the twilio-email-deliverability-advisor skill — it's scoped to that platform."
If unclear: Ask exactly this before proceeding:
"Are you using SendGrid (API key starting with
SG., dashboard at app.sendgrid.com) or Twilio Email (Twilio Account SID / Auth Token)?"
Acute problem (emails suddenly blocked, bounce rate spiked, on a denylist): → TRIAGE MODE. Something changed — diagnose before recommending.
Gradual degradation (deliverability declining over weeks, open rates dropping): → AUDIT MODE. Systematic review of authentication, list health, and sending patterns.
Proactive setup (new email program, new IP, new domain): → FOUNDATION MODE. Build the right infrastructure before problems occur.
What symptoms are you seeing?
Is your domain authenticated?
app.sendgrid.com → Settings → Sender Authentication + link brandingShared or dedicated IP?
What does your list look like?
First: Is this a new IP/domain or an established sender?
Most likely causes for established senders, in diagnostic order:
Healthy thresholds:
| Metric | Healthy | Warning | Critical |
|---|---|---|---|
| Hard bounce rate | < 1% | 1-2% | > 2% |
| Spam complaint rate | < 0.08% | 0.08-0.1% | > 0.1% |
| Soft bounce rate | < 5% | 5-10% | > 10% |
This is an IP/domain warmup problem. ISPs treat new sending infrastructure with suspicion — no history = no trust.
| Protocol | What it does | Required? |
|---|---|---|
| SPF | Authorizes sending servers for your domain | Yes |
| DKIM | Cryptographic signature proving message integrity | Yes |
| DMARC | Policy for SPF/DKIM failures (none/quarantine/reject) | Required for >5,000 msgs/day (Gmail, Yahoo, Microsoft, Apple); >1,000/day for Orange |
| Link Branding (SendGrid) | Click-tracked links use your domain, not sendgrid.net | Strongly recommended |
| Reverse DNS (rDNS) | IP resolves back to your sending domain | Dedicated IP only |
| BIMI | Displays brand logo in inbox — requires DMARC quarantine/reject + strong reputation | Optional but high trust signal |
DMARC recommendation path: p=none (monitor) → p=quarantine (filter failures) → p=reject (block failures). Do not jump straight to p=reject.
SEQ is the primary health metric for SendGrid accounts. Composite score across 5 dimensions:
SEQ score < threshold can trigger sending restrictions and affects shared IP pool placement. The SEQ API (for programmatic access) is available on Pro/Premier plans. Check via SendGrid dashboard or SEQ API.
Without Event Webhooks you have no real-time signal on delivery problems. Every email program needs webhooks tracking:
bounce — hard and soft bouncesspam_report — recipient marked as spamunsubscribe — global and group unsubscribesdeferred — ISP temporarily rejected (retry happening)dropped — suppressed before sendSee twilio-sendgrid-webhooks for setup.
| Provider | Domains | SPF | DKIM | DMARC threshold | Spam limit | FBL | Notes |
|---|---|---|---|---|---|---|---|
| Gmail | gmail.com + Workspace | All volumes | All volumes | >5,000/day | <0.10% (enforce), <0.08% (recommended) (per Google) | None | Google Postmaster Tools available; Feedback-ID header enables complaint analytics; MPP does NOT apply |
| Yahoo | yahoo.com, aol.com, att.net, comcast.net, verizon.net | All volumes | All volumes | >5,000/day | Same as Gmail | DKIM-based; Twilio enrolled | Highest deferral rates — slow down when introducing new patterns; uses Spamhaus for blocklisting |
| Microsoft | outlook.com, hotmail.com, live.com, msn.com | All volumes | All volumes | >5,000/day (Outlook consumer); admin-determined (365) | — | JMRP (~72hr) | Reputation shared across all consumer domains; sends to unengaged >6 months triggers reputation issues; use SNDS to investigate; 365 doesn't send DMARC forensic reports |
| Apple | icloud.com, me.com, mac.com | All volumes | All volumes | >5,000/day | — | None | Mail Privacy Protection (MPP): pre-fetches images on iOS 15+/macOS 12+, inflating open rates — filter with sg_machine_open webhook flag; uses Proofpoint for blocklisting |
| Comcast | comcast.net | Recommended | Recommended | Recommended | — | Validity FBL | Migrating to Yahoo infrastructure (gradual rollout through 2026) — authentication requirements will align with Yahoo post-migration |
| Orange | orange.fr, wanadoo.fr | All volumes | All volumes | >1,000/day | <0.6% | Signal Spam (Twilio not enrolled — audit lists manually) | Tightest spam threshold in the industry |
Key actions per provider:
Feedback-ID header for granular complaint tracking.sg_machine_open: true events from engagement calculations.| Provider | Impact | Auto-expires | Delisting |
|---|---|---|---|
| Spamhaus | High — affects Yahoo, AOL, Microsoft | No | Shared IPs: Twilio handles. Dedicated IPs: account owner requests. Fix behavior first. |
| SpamCop | Moderate | 24 hours if no new trap hits | No manual delisting — auto-releases only |
| Proofpoint | High for Apple domains | No | Email [email protected]; allow 72hr response; ensure rDNS is set and link branding configured |
| Microsoft | High for Outlook/365 | No | Submit through Outlook or 365 inquiry forms; include bounce examples |
| Abusix | Moderate | No | Abusix Inquiry Form |
| Return Path / Validity | Moderate | No | Return Path Inquiry Form / Sender Score |
| Vade Secure | Moderate | No | Vade Secure Inquiry Form |
| UCE Protect | Minimal | — | Twilio takes no action — listings here have negligible deliverability impact |
Universal rule: Fix the root behavior before requesting any delisting. Repeated requests without behavior changes are ignored.
After diagnosing, respond with:
Diagnosis: [Acute / Gradual / Proactive]
Root Cause: [Most likely issue based on symptoms]
Immediate Actions:
1. [Highest priority fix]
2. [Second fix]
3. [Third fix]
Skills to Install:
- twilio-sendgrid-account-setup — if domain auth (SPF, DKIM, DMARC, link branding) needs to be set up
- twilio-sendgrid-engagement-quality — if developer wants to check SEQ score (SendGrid Pro/Premier)
- twilio-sendgrid-suppressions — if bounce or spam complaint management is needed
- twilio-sendgrid-webhooks — if developer needs delivery event monitoring
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sendgrid, email-deliverability, spf, dkim, dmarc, sender-reputation
57 skills in this plugin
/twilio-account-setupCreate and configure a Twilio account from scratch. Covers free trial signup, trial limitations, getting credentials (Account SID and Auth Token), buying a phone number, verifying recipient numbers for trial use, SDK installation, first API call, subaccount management (creation, inheritance, credential isolation, limits), and enabling specific products (AI Assistants, Conversations, Verify, ConversationRelay, WhatsApp). Use this skill before any other Twilio skill if you do not yet have a Twilio account or need to enable a product. For Organization-level governance (SSO, SCIM, multi-team), see `twilio-organizations-setup`.
/twilio-agent-augmentation-architectPlanning skill for augmenting human agents with real-time AI intelligence. Qualifies the developer's use case across coaching, compliance, QA, and routing to recommend the right Conversation Intelligence + Conversation Memory + TaskRouter architecture. Handles both "I want to add AI coaching to my call center" and "configure Conversation Intelligence operators for script adherence."
/twilio-agent-connectTwilio Agent ConnectTwilio Agent Connect (TAC) is a Python and TypeScript SDK that integrates third-party LLM agentic applications with Twilio's communication technologies. TAC provides middleware for identity resolution, memory/context management (via Conversation Memory), conversation orchestration (via Conversation Orchestrator), and multi-channel handling (Voice, SMS, RCS, WhatsApp, Chat)./twilio-ai-agent-architectPlanning skill for AI-powered conversational agents. Qualifies the developer's use case across outcome sophistication, entry point, and customer profile to recommend the right Twilio Conversations architecture and implementation skills. Handles both high-level requests ("build me a voice AI assistant") and specific ones ("integrate ConversationRelay with my OpenAI backend").
/twilio-call-recordingsRecord Twilio voice calls correctly. Covers the critical distinction between Record verb (voicemail) and Dial record (call recording), dual-channel for QA, mid-call pause for PCI, Conference recording, and the ConversationRelay workaround. Use this skill whenever you need to capture call audio for compliance, QA, or analytics.
/twilio-cli-referenceTwilio CLI reference for managing Twilio resources from the terminal. Covers installation, credential profiles, phone number provisioning, sending SMS and email, webhook configuration, local development with a tunneling service, debugging with watch and logs, serverless deployment, and plugin ecosystem. Use when the developer asks to "just do it", "set this up", "run a command", mentions "CLI", "command line", or "terminal", or when an AI agent can execute a task directly instead of writing application code.
Other plugins' skills for the same job
npx claudepluginhub twilio/ai --plugin twilio-developer-kit