twilio-email-deliverability-advisor — Codex skill: email delivery
This skill diagnoses delivery issues for the Twilio Email API and suggests checks to run. Use it when messages land in spam, bounce, or get blocked.
npx skills add openai/plugins --skill twilio-email-deliverability-advisor -a codexWhat twilio-email-deliverability-advisor does
The skill first identifies the sending platform using clues such as comms.twilio.com, an Account SID, or an Auth Token. If the sender uses SendGrid, it points to twilio-sendgrid-deliverability-advisor; when the platform is unclear, it asks the developer to confirm. For Twilio Email, it checks domain authentication, list hygiene, bounce rates, and spam complaints.
Its response includes a diagnosis, a likely cause, and suggested actions. Delivery statistics can be checked in Twilio Console → Monitor → Logs, or collected through Event Webhooks. Twilio Email has fewer built-in deliverability tools than SendGrid: it lacks an IP pool management interface and Engagement Quality Score. Detailed event questions may require contacting Twilio Support.
What it helps with
- diagnose why Twilio Email messages reach spam folders
- check SPF, DKIM, and DMARC setup
- assess hard bounce and spam complaint rates
- find where Twilio Email delivery statistics are available
Example prompts for the agent
- Diagnose why messages sent through the Twilio Email API are landing in spam.
- Review hard bounces and spam complaints for my Twilio Email program.
- Check the SPF, DKIM, and DMARC setup for my domain on Twilio Email.
How to install twilio-email-deliverability-advisor
1Skills CLI (Vercel)
npx skills add openai/plugins --skill twilio-email-deliverability-advisor -a codex2Manually: put the files in place
.agents/skills/twilio-email-deliverability-advisor/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add openai/plugins --skill twilio-email-deliverability-advisor -a claude-code2Manually: put the files in place
~/.claude/skills/twilio-email-deliverability-advisor/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/twilio-email-deliverability-advisor/
Manually: put the files in place
.cursor/skills/twilio-email-deliverability-advisor/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install openai/plugins twilio-email-deliverability-advisor2Manually: put the files in place
.github/skills/twilio-email-deliverability-advisor/SKILL.mdPlatform CLI
gemini skills install https://github.com/openai/plugins --path plugins/twilio-developer-kit/skills/twilio-email-deliverability-advisorManually: put the files in place
.devin/skills/twilio-email-deliverability-advisor/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: Codex skills: how to install, where they live, how to call them
Questions about twilio-email-deliverability-advisor
How do I install twilio-email-deliverability-advisor in Codex?
Run npx skills add openai/plugins --skill twilio-email-deliverability-advisor -a codex. The skill file is at .agents/skills/twilio-email-deliverability-advisor/SKILL.md.
What does twilio-email-deliverability-advisor do?
It helps diagnose delivery problems for the Twilio Email API, including domain authentication, bounces, and spam complaints. For SendGrid, it directs developers to a separate skill.
Which bounce and complaint rates are critical?
A hard bounce rate above 2% and a spam complaint rate above 0.1% are critical. The skill also gives warning thresholds for both metrics.
Source text
SKILL.md · MIT
--- name: twilio-email-deliverability-advisor description: > Deliverability advisor for the Twilio Email API specifically. Use ONLY when the developer explicitly mentions Twilio Email, comms.twilio.com, or a Twilio (non-SendGrid) email program. For all other deliverability questions — including generic ones — use twilio-sendgrid-deliverability-advisor. tier: discover --- ## Role You are an Email Deliverability Advisor for the Twilio Email API. This skill is a **work in progress** — Twilio Email deliverability tooling is more limited than SendGrid's. Apply general email best practices and flag where SendGrid-specific guidance does not apply. ## When This Skill Activates Use when a developer is on the Twilio Email API (`comms.twilio.com`) and asks about: - Emails going to spam, not reaching inbox, or getting blocked - Bounce rates, spam complaints, domain authentication - How to improve deliverability Do NOT use for SendGrid — use `twilio-sendgrid-deliverability-advisor` instead. --- ## Step 0: Identify Platform Check for platform signals before proceeding: | Signal | Platform | Action | |--------|----------|--------| | Mentions `comms.twilio.com`, Account SID, or Auth Token | Twilio Email | Proceed | | API key starts with `SG.` | SendGrid | Redirect | | Mentions `app.sendgrid.com` | SendGrid | Redirect | | No signal | Unknown | Ask | **If SendGrid:** Stop. Respond: "For SendGrid deliverability, use the `twilio-sendgrid-deliverability-advisor` skill — it has SendGrid-specific tooling like SEQ scores, IP warmup schedules, and blocklist guidance." **If unclear:** Ask exactly this before proceeding: > "Are you using Twilio Email (Twilio Account SID / Auth Token, endpoint at comms.twilio.com) or SendGrid (API key starting with `SG.`, dashboard at app.sendgrid.com)?" --- ## Known Constraints Twilio Email does not expose the same deliverability tooling as SendGrid: - No Engagement Quality Score (SEQ) - No IP pool management UI - No Email Address Validation API (requires a separate SendGrid account) - Dedicated IP is not available on the standard Twilio Email API — contact Twilio Sales for enterprise options --- ## Foundation Checklist (applies to all email programs) ### Authentication (do these first) | 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 | Configure domain authentication via the Twilio Console. SPF and DKIM are required at all volumes. DMARC thresholds vary by provider — see table above. ### List Hygiene - Never buy email lists - Use double opt-in for marketing lists - Remove hard bounces immediately after each send - Reconfirm subscribers inactive > 6 months ### Thresholds | Metric | Healthy | Warning | Critical | |--------|---------|---------|----------| | Hard bounce rate | < 1% | 1-2% | > 2% | | Spam complaint rate | < 0.08% | 0.08-0.1% | > 0.1% | --- ## Platform Limitations and Where to Get Help The Twilio Email API has less built-in deliverability tooling than SendGrid. When you hit these limits, use the resources below: | Question | Where to go | |----------|-------------| | What delivery stats are available? | Twilio Console → Monitor → Logs, or configure Event Webhooks via Console | | Bounce and spam complaint data? | Event Webhooks are the primary signal; the Console provides basic send stats. For detailed per-message events, contact [Twilio Support](https://help.twilio.com/) to confirm current webhook event types | | New domain warmup requirements? | No platform-enforced warmup schedule (unlike SendGrid's 41-day automated warmup). Follow manual warmup best practices in the Foundation Checklist above | | Dedicated IP availability? | Not available on standard plans — contact Twilio Sales for enterprise options | | Which delivery events are exposed? | Contact [Twilio Support](https://help.twilio.com/) for current webhook event schema; standard email events (delivered, bounced, failed) are typically available | **When in doubt:** Open a ticket at [help.twilio.com](https://help.twilio.com/) — deliverability questions on the Twilio Email API require platform-specific support that this skill cannot fully replace. --- ## Output Format 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-email-send (Twilio Email sending — Account SID / Auth Token) - twilio-sendgrid-deliverability-advisor (if you discover the sender is using SendGrid) ```
© Twilio · MIT · openai/plugins