twilio-sendgrid-email-settings

Configure SendGrid dynamic templates, tracking settings, link branding, and email content types.

5.3k|765|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/openai/plugins --skill twilio-sendgrid-email-settings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twilio-sendgrid-email-settings
Source: https://github.com/openai/plugins/tree/main/plugins/twilio-developer-kit/skills/twilio-sendgrid-email-settings
Command: npx skills add https://github.com/openai/plugins --skill twilio-sendgrid-email-settings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers integrating SendGrid often struggle with Handlebars template limitations, unreliable open tracking, and deliverability issues from default tracking domains. This Skill provides authoritative guidance on configuring SendGrid email settings correctly the first time.

Core Features & Use Cases

  • Dynamic Template Configuration: Use supported Handlebars helpers (if, each, equals, formatDate, insert) in dynamic templates with d- prefixed IDs, while avoiding unsupported features like custom helpers and inline partials.
  • Tracking & Link Branding: Configure open, click, and subscription tracking, and set up custom tracking domains via Link Branding with CNAME DNS records to improve deliverability.
  • Content Type Strategy: Structure messages with text/plain, text/html, and AMP content in the correct priority order for maximum client compatibility.
  • Use Case: When building a transactional email flow, use this Skill to create a dynamic template with conditional Handlebars content, enable click tracking on a branded domain, and ensure CAN-SPAM compliant subscription footers.

Quick Start

Ask the agent to create a SendGrid dynamic template with Handlebars personalization and configure click tracking with a branded link domain.

Frequently Asked Questions about twilio-sendgrid-email-settings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use Handlebars in SendGrid dynamic templates?

SendGrid dynamic templates support a subset of Handlebars helpers including if, unless, each, equals, and, or, greaterThan, length, formatDate, and insert. Custom helpers, inline partials, lookup, and with are not supported. Pass values through dynamic_template_data in your API request.

How do I set up a custom tracking domain in SendGrid?

Use Link Branding under Settings > Sender Authentication in the SendGrid Console. Create a CNAME DNS record pointing your subdomain (e.g., links.yourdomain.com) to sendgrid.net, then validate it via GET /v3/whitelabel/links/{id}/validate.

Why is SendGrid open tracking inaccurate?

Open tracking relies on a tracking pixel, which is fundamentally unreliable. Apple Mail Privacy Protection inflates open counts, while image-blocking clients produce false negatives. Do not use open tracking data for business-critical logic.

Can I use this with the Twilio Email API?

No, this guidance applies only to SendGrid accounts using an API key with the SG- prefix. The Twilio Email API at comms.twilio.com is a separate service and these settings do not apply to it.

Why are my SendGrid template variables rendering as blank?

Undefined variables in dynamic_template_data render silently as empty strings with no error. Verify that every Handlebars variable in your template has a matching key in the dynamic_template_data payload.