> SendGrid Email Service
Send transactional and marketing emails with SendGrid. Templates, dynamic content, and webhooks.
fetch
$
curl "https://skillshub.wtf/skillshub-team/catalog-batch5/sendgrid-email?format=md"SKILL.md•SendGrid Email Service
SendGrid Email
Setup
npm install @sendgrid/mail
Send Email
import sgMail from '@sendgrid/mail';
sgMail.setApiKey(process.env.SENDGRID_API_KEY);
await sgMail.send({
to: 'user@example.com',
from: 'noreply@myapp.com',
subject: 'Welcome!',
html: '<h1>Welcome to MyApp</h1><p>Thanks for signing up.</p>',
});
Dynamic Templates
await sgMail.send({
to: 'user@example.com', from: 'noreply@myapp.com',
templateId: 'd-xxxx',
dynamicTemplateData: { name: 'Alice', resetLink: 'https://...' },
});
Bulk Send
await sgMail.sendMultiple({
to: ['a@b.com', 'c@d.com'], from: 'noreply@app.com',
subject: 'Newsletter', html: '<p>Monthly update</p>',
});
Webhooks for delivery tracking: delivered, opened, clicked, bounced
> related_skills --same-repo
> Nix Dev Shells with direnv
Auto-activate reproducible dev environments with Nix flakes and direnv.
> Dagger with GitHub Actions
Run Dagger CI/CD pipelines in GitHub Actions for portable, testable builds.
> Bun + Hono API
Build fast APIs with Bun runtime and Hono framework.
> Deno Fresh Framework
Build full-stack web apps with Fresh on Deno. Islands, routes, and zero runtime overhead.
┌ stats
installs/wk0
░░░░░░░░░░first seenMar 18, 2026
└────────────