Back to Agent Skills
Data & Analytics
SendGrid Email Delivery
Deliver transactional and marketing emails at scale with SendGrid API, templates, and analytics.
Claude Code Cursor Copilot Windsurf Gemini CLI
Overview
SendGrid (Twilio SendGrid) is one of the most established email delivery platforms, handling over 100 billion emails per month. The @sendgrid/mail Node.js library provides a straightforward API for sending transactional emails with support for dynamic templates, attachments, categories, and custom tracking. SendGrid handles all aspects of email delivery including IP reputation management, ISP throttling, and bounce processing.
Dynamic transactional templates use Handlebars syntax for variable substitution and conditional content. Templates are managed through the SendGrid dashboard with a visual editor, versioning, and testing tools. The API supports sending to multiple recipients with individual personalizations (different subjects, content, or template data per recipient) in a single API call.
SendGrid provides comprehensive analytics including delivery rates, open rates, click tracking, bounce classification, and spam report monitoring. The Event Webhook delivers real-time notifications for email events (delivered, opened, clicked, bounced, unsubscribed). The Inbound Parse feature can receive emails and route them to your application via webhook. The free tier includes 100 emails per day permanently.
Dynamic transactional templates use Handlebars syntax for variable substitution and conditional content. Templates are managed through the SendGrid dashboard with a visual editor, versioning, and testing tools. The API supports sending to multiple recipients with individual personalizations (different subjects, content, or template data per recipient) in a single API call.
SendGrid provides comprehensive analytics including delivery rates, open rates, click tracking, bounce classification, and spam report monitoring. The Event Webhook delivers real-time notifications for email events (delivered, opened, clicked, bounced, unsubscribed). The Inbound Parse feature can receive emails and route them to your application via webhook. The free tier includes 100 emails per day permanently.
Who Is This For?
- Send transactional emails with dynamic templates
- Track email opens and clicks with event webhooks
- Manage email lists with suppression groups
- Process incoming emails with Inbound Parse
Installation
Setup for Claude Code
npm install @sendgrid/mail Configuration
import sgMail from "@sendgrid/mail"
sgMail.setApiKey(process.env.SENDGRID_API_KEY!)
await sgMail.send({
to: "user@example.com",
from: "noreply@myapp.com",
templateId: "d-xxxxxxxxxxxx",
dynamicTemplateData: {
name: "John",
resetLink: "https://myapp.com/reset?token=xxx",
},
}) Explore AI Tools
Discover the best AI tools that complement your skills
Read AI & Design Articles
Tips and trends in the world of design and AI
Related Skills
Data & Analytics
Sentry Error Tracking
Monitor errors and performance issues in production with Sentry. AI agents can triage alerts and suggest fixes based on stack traces.
Claude Code Cursor Copilot
Data & Analytics PostHog Product Analytics
Track product usage, manage feature flags, and analyze user behavior with PostHog, an open-source product analytics platform.
Claude Code Cursor
Data & Analytics Database Query Builder
Generate and optimize SQL queries with AI assistance. Build complex queries, analyze execution plans, and improve database performance.
Claude Code Codex Copilot