plugins/twilio-developer-kit/skills/sendgrid/twilio-sendgrid-email-settings/SKILL.md
Configure SendGrid dynamic templates (Handlebars), tracking settings (opens, clicks, subscriptions), link branding for custom tracking domains, and content types (HTML, plain text, AMP). Use when customizing SendGrid email content, tracking behavior, or branded links. Requires a SendGrid API key (SG.-prefix) — not applicable to the Twilio Email API (comms.twilio.com).
npx skillsauth add openai/plugins twilio-sendgrid-email-settingsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
SendGrid email settings control how your messages are constructed, personalized, and tracked. Most configuration happens in the SendGrid Console, but templates and tracking can also be managed via API.
Templates use Handlebars syntax and are managed in Console > Email API > Dynamic Templates. Template IDs start with d-.
Supported Handlebars helpers:
| Helper | Use | Example |
|--------|-----|---------|
| if / unless | Conditional | {{#if premium}}Welcome back!{{/if}} |
| each | Iteration | {{#each items}}{{this.name}}{{/each}} |
| equals / notEquals | Comparison | {{#equals status "active"}}...{{/equals}} |
| and / or | Boolean logic | {{#and premium verified}}...{{/and}} |
| greaterThan / lessThan | Numeric | {{#greaterThan count 5}}...{{/greaterThan}} |
| length | Array/string | {{length items}} |
| formatDate | Date format | {{formatDate date "MM/DD/YYYY"}} |
| insert | Module insert | {{insert "module_name"}} |
NOT supported: Custom helpers, inline partials, lookup, log, with, blockHelperMissing. SendGrid implements a subset of Handlebars.js.
d-): Support Handlebars-substitution- syntax — not interchangeable with Handlebars| Setting | What it does | Caveat | |---------|-------------|--------| | Open tracking | Inserts a tracking pixel | Unreliable: Apple Mail Privacy Protection inflates opens; image-blocking clients produce false negatives | | Click tracking | Rewrites URLs through SendGrid's redirect | Can trigger spam filters on some domains | | Subscription tracking | Adds unsubscribe footer | Required for CAN-SPAM compliance | | Google Analytics | Adds UTM parameters | Only for marketing campaigns |
Configure per-message or account-wide in Console > Settings > Tracking.
By default, click-tracked links route through url####.ct.sendgrid.net. Link Branding lets you use your own domain (e.g., links.yourdomain.com) instead, which improves deliverability and builds trust.
Setup: Console > Settings > Sender Authentication > Link Branding
Requires a CNAME DNS record pointing your subdomain to sendgrid.net. Validate via API: GET /v3/whitelabel/links/{id}/validate
When sending multiple content types, email clients display in this priority:
text/x-amp-html (AMP — only in supporting clients, requires sender registration)text/html (standard — most clients)text/plain (fallback)Always include at least text/plain and text/html.
subject is a plain string override — It bypasses the template subject. To use dynamic subjects, set Handlebars variables (e.g., {{{subject}}}) in the Dynamic Template's subject field and pass values via dynamic_template_data.dynamic_template_data render as empty strings with no error.twilio-sendgrid-email-sendtwilio-sendgrid-webhookstwilio-sendgrid-suppressionsdevelopment
Use when the user wants to spin up / create / launch / provision a DigitalOcean droplet (or "a remote dev box on DO") and connect to it from Codex as a remote SSH workspace.
data-ai
Search through Microsoft Teams chats or channels, triage unread or recent activity, draft follow-ups, and manage Planner tasks through connected Teams data.
tools
Motion / animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.
development
SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views / screens / tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files / an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.