/agentic-awesome-skills:transactional-emailfrom agentic-awesome-skills
Guides implementation of durable transactional email delivery with outbox pattern, deduplication, and one-click unsubscribe. Useful when adding alert emails or debugging duplicate/lost sends.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Keep the scope, sandbox, credentials and approval settings supplied by the user or host. Obtain authorization before delegating, exposing project files to another provider, enabling connectors or hooks, using paid services or deploying. Use synthetic or redacted inputs for examples. Keep security reviews static and defensive, with findings and fixes grounded in source inspection.
Adding transactional or alert email, choosing a provider, 'sent twice', 'never arrived': app email sent once, never lost, with one-click unsubscribe.
Commit messages durably and name the narrow cases that can duplicate them. A plain "insert, then call the provider" can lose a message or send it twice, depending on where it crashes. This skill covers durable delivery, unsubscribe, environments and domains.
Apply these mechanics to any provider with an HTTP send API. They carry to Resend, SES and others; provider differences are stated with their read dates. The identity provider's own email, such as sign-in codes and invitations, is not covered here: it sends that itself.
Distinguish the event, its messages, their receipts and the sender. An event is what happened: an incident opened, an invoice paid. A message is one email about it to one recipient. A receipt is the durable row saying what became of that message. The sender turns pending receipts into provider calls, wherever it runs.
references/delivery.md § The outbox. The outbox row is unique per event and kind, so a trigger that fires twice still queues one.references/delivery.md § The receiptfor update skip locked, so two senders never claim one. A pass may repeat, overlap another, or be missed and caught up later. Send only well inside the lease, preventing a stalled sender from sending a receipt another has taken over. Mark a receipt only while the claim is still yours. → references/delivery.md § The claimsent, with the id;failed, in your own words, never retried, because sending it again can't help;pending, with backoff, and failed after a fixed number of tries;sending, and nobody knows whether it went. That case is item 5.Idempotency-Key header and keeps it for 24 hours: a retry with the same key and body returns the first answer without sending again (Resend's docs, read 2026-10-25).POST /email is a second email; GET /messages/outbound?metadata_<key>=<receipt id> answers whether it was accepted.sent with that id. Not found: send it. The search itself failing: wait.references/delivery.md § What remainsList-Unsubscribe: <https://…/unsubscribe/<token>> and List-Unsubscribe-Post: List-Unsubscribe=One-Click (RFC 8058). → references/delivery.md § Unsubscribe
POST whose body is List-Unsubscribe=One-Click, answers it directly (RFC 8058 forbids a redirect), and needs no cookie or sign-in, because the token is the authority. A GET to it goes to a page that checks the token, shows what will stop, and asks.[email protected], which accepts and never delivers; Resend: [email protected], which simulates a delivery) sends alerts, confirmations and tests alike there instead of to their recipient. Each receipt records that it was redirected, and the screen says so. The production build, and every production deploy of the sender, refuse a non-empty redirect. A convention alone lets a copied .env send every customer's email to one address. The general rule for development-only switches is environments.TrackOpens: false, TrackLinks: "None"). A later server setting cannot add them. Plain text unless the product needs more. The footer says, in words true for that recipient, why they get the message.p=none with no reporting. It lets anyone spoof the domain, so rank it as a risk and tighten it once mail flows.2026-10-22); the code reports that in plain words rather than failing silently.environments). The redirect is development-only (item 10).supabase-production § A second runtime), and is deployed separately, because a push redeploys only the app (release-gate). Overlapping senders are safe by item 3, which is what makes a cut-over from one runtime to another safe.references/delivery.md § TestsEach rule's origin, the case that taught it, is in receipts.md beside this file; read it when a rule's edge is unclear.
A real message reached a real inbox once, a retry did not send a second, and one-click unsubscribe worked from the message as received.
| File | Holds | Read when |
|---|---|---|
references/delivery.md | the outbox and receipt schema, the claim and its timings, the answer table, reconciliation, what remains, ordering between related messages, unsubscribe in detail, the tests | building or changing the sender; a duplicate or a missing email; choosing lease and timeout values |
Related skills:
environments (one value per environment, development-only switches, rotating a secret across every holder)supabase-production (a second runtime's database login)release-gate (deploying the runtimes a push does not)saas-authorization (what may be stored about people; reading names and addresses at send time).Treat upstream examples as patterns. Validate scope and results against current project constraints, available tools and decisions recorded by the owner.
Adapted from Pawel Huryn’s upstream skill.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sickn33/agentic-awesome-skills --plugin agentic-awesome-skills3,104 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.2 plugins in one repository ship this exact skill · first indexed Nov 21, 2026
Other plugins' skills for the same job