backend-transactional-email
Use when the user asks about transactional email, password reset emails that do not land in spam, SPF/DKIM/DMARC, Amazon SES, SendGrid, Resend, Postmark, MJML…
от j4flmao★ 47 звёзд на GitHub
Установить backend-transactional-email в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Transactional Email Skill
Purpose
Build reliable, deliverable, and compliant transactional email systems using proven provider integrations, responsive MJML templates, and deliverability best practices.
Architecture Decision Trees
Provider Selection
| Criterion | Amazon SES | SendGrid | Resend | Postmark | SMTP (self) |
|---|---|---|---|---|---|
| Volume pricing | $0.10/1K (62K free) | $19.95/50K | Free tier: 3K/mo | $10/10K | Infrastructure cost |
| Deliverability | Good (reputation shared) | Good | Excellent (dedicated IP) | Excellent | Depends on setup |
| Template engine | Custom HTML | Dynamic templates | React Email / MJML | Custom HTML | Any |
| Webhooks | SNS + SQS | Event Webhook | Webhooks (built-in) | Webhooks | Custom |
| Open/click tracking | SES Config Set | Built-in | Built-in | Built-in | Custom |
| Dedicated IP | Yes (paid) | Yes (paid) | Yes | Yes | Yes |
| API style | AWS SDK / SMTP | REST / SMTP | REST (simple) | REST / SMTP | SMTP |
| Best for | High volume, AWS shops | Mid-volume marketing | Modern DX, dev teams | Transactional only | Full control |
Decision: Resend for modern apps with great DX. SES for cost-sensitive high volume. Postmark for transactional-only where deliverability is critical.
Template Rendering Strategy
| Strategy | Pros | Cons | Best For |
|---|---|---|---|
| MJML → HTML (build-time) | Fast, no runtime dep | Rebuild to change templates | Static templates |
| MJML → HTML (runtime) | Dynamic per-user | CPU cost per send | Personalized templates |
| React Email (JSX) | Component reuse, type-safe | Node.js only, build step | React codebases |
| Handlebars + HTML | Universal, simple | No responsive guarantees | Mixed stacks |
| Provider templates (SendGrid, SES) | No rendering code | Vendor lock-in, less flexible | Simple notifications |
Decision: MJML compiled at build-time with runtime variable injection via Handlebars. React Email for all-React codebases.
Delivery Architecture Patterns
| Pattern | Description | Latency | Reliability | Complexity |
|---|---|---|---|---|
| Direct send (API) | Send immediately in request handler | Lowest | Low (no retry) | Simplest |
| Queue + worker | Push to queue, worker sends | Medium | High (retry + DLQ) | Moderate |
| Dedicated email service | Separate microservice | Higher | Highest (isolated) | Complex |
| Third-party API | Provider API only | Low | Provider-dependent | Simplest |
Decision: Queue + worker for production. Direct send for low-volume admin emails only.
Agent Protocol
Trigger
User mentions transactional email, email delivery, SMTP, SES, SendGrid, Resend, email templates, MJML, email testing, email webhooks, email analytics, email localization, email compliance, or deliverability setup.
Input Context
- Email provider choice and credentials
- Template types needed (welcome, reset password, invoice, notification)
- Volume estimates and sending quotas
- Compliance requirements (GDPR, CAN-SPAM)
- Locale/language requirements
Output Artifact
SKILL.md adherence document plus implemented email delivery code, MJML templates, webhook handlers, and deliverability configuration.
Response Format
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.
Completion Criteria
- Email provider configured with SMTP or API credentials
- MJML responsive templates created for all required transactional types
- SPF/DKIM/DMARC DNS records documented or applied
- Webhook endpoints for bounces/complaints implemented
- Rate limiting and sending quotas enforced
- Email testing setup (MailHog or Ethereal) operational
- Template localization strategy defined
- GDPR compliance (unsubscribe, data retention) implemented
Max Response Length
4096 tokens
Workflow
- Provider Selection & Setup: Choose provider based on volume, cost, feature needs. Configure SMTP credentials or API keys as environment variables.
// Resend example
import { Resend } from 'resend';
const resend = new Resend(process.env.RESEND_API_KEY);
await resend.emails.send({
from: '[email protected]',
to: '[email protected]',
subject: 'Welcome to Our Platform',
html: '<p>Welcome!</p>',
});
# SES with boto3
import boto3
from botocore.exceptions import ClientError
ses = boto3.client('ses', region_name='us-east-1')
response = ses.send_email(
Source='[email protected]',
Destination={'ToAddresses': ['[email protected]']},
Message={
'Subject': {'Data': 'Welcome'},
'Body': {'Html': {'Data': '<p>Welcome!</p>'}}
}
)
- MJML Template Creation: Build responsive, mobile-first email templates. Use MJML components for consistent rendering across clients.
<mjml>
<mj-head>
<mj-title>Welcome to Our Platform</mj-title>
<mj-preview>S
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/deliverability.md
- references/delivery-setup.md
- references/email-analytics.md
- references/email-compliance.md
- references/email-testing.md
- references/mjml-templates.md
- references/transactional-email-advanced.md
- references/transactional-email-fundamentals.md
FAQ
Что делает скилл backend-transactional-email?
Use when the user asks about transactional email, password reset emails that do not land in spam, SPF/DKIM/DMARC, Amazon SES, SendGrid, Resend, Postmark, MJML templates or bounce webhooks. Produces email sending with templates and deliverability setup. Not for marketing campaigns or SMS (use backend-sms-messaging).
Как установить скилл backend-transactional-email?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл backend-transactional-email запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…