resend-email

resend-email is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 37 tokens per session (487 once invoked), scanned B, original, MIT.

An email integration guide for Resend, a service for sending application email. It covers transactional messages, React Email templates, domain verification, and delivery webhooks.

In plain words
What is it for?
Use it to send application emails, build reusable email templates, configure SPF, DKIM, and DMARC records, and process delivery, bounce, and complaint events.
Why use it?
It helps avoid rejected messages and invalid webhook handling. It explains how to verify sender domains and confirm that delivery events are authentic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to send application emails, build reusable email templates, configure SPF, DKIM, and DMARC records, and process delivery, bounce, and complaint events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/resend-email
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add monkilabs/opencastle --skill resend-email
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for resend-email

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/resend-email/github.svg)](https://agentmods.dev/skills/monkilabs/opencastle/resend-email)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/resend-email"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/resend-email/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for resend-email

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/resend-email"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/resend-email.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 487 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00487
Opus 5.5 $0.00015 $0.00195
Sonnet 5.5 $0.00007 $0.00097
Haiku 4.5 $0.00004 $0.00049

Measured 1mo ago against content hash b02497aaa1f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

resend-email scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

`curl -X POST -H 'Content-Type: application/json' -d '{"type":"email.delivered"}' https://yourapp.com/api/webhooks/resend`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl -X POST -H 'Content-Type: application/json' -d '{"type":"email.delivered"}' https://yourapp.com/api/webhooks/resend`
src/orchestrator/plugins/resend/skills/resend-email/SKILL.md · 31 lines

What it actually says

Resend Email

Docs: https://resend.com/docs

Env: RESEND_API_KEY (resend.com → API Keys), RESEND_WEBHOOK_SECRET (resend.com → Webhooks).

Gotchas

  • Resend webhooks are Svix-signed. Verification needs all three headers — svix-id, svix-timestamp, svix-signature — passed to new Webhook(process.env.RESEND_WEBHOOK_SECRET).verify(rawBody, headers). Verify against the raw request.text(); parsing the JSON first invalidates the signature. Return 400 on failure, 200 on success. Events: email.delivered, email.bounced, email.complained.
  • from must use a verified domain and the 'Name <[email protected]>' form. to is an array.
  • Pass a React Email component via react: (not html:); the two are mutually exclusive.

Domain setup

  1. Add the domain at resend.com → Domains, then add the SPF, DKIM, and DMARC records. Verification typically completes within an hour.
  2. Confirm propagation before blaming the API: dig TXT yourdomain.com — SPF/DKIM records must appear.
  3. Send one test message and check the received headers show SPF and DKIM pass.
  4. Smoke-test the webhook endpoint returns 200: curl -X POST -H 'Content-Type: application/json' -d '{"type":"email.delivered"}' https://yourapp.com/api/webhooks/resend

Failures here are nearly always DNS propagation, a wrong API key scope, or a mismatched webhook secret.

Templates

npm install resend @react-email/components. Build templates from @react-email/components primitives (Html, Head, Body, Container, Heading, Text, Button) — plain HTML/CSS is unreliable across clients. Preview locally with npx react-email dev — the preview server is the react-email package, which @react-email/components does not install.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 tokens per session b02497aaa1f8
  2. 1mo ago First seen · 31 lines · 35 tokens per session scan B 5e48fa2337ee

Subscribe to this mod's changes

resend-email is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 37 tokens to every session and 487 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.

Related

resend-email compared with skills from other repositories

resend-email next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
resend-emailmonkilabs/opencastleSkill8210d agoMITB37Claude Code, Codex
spring-data-redisrrezartprebreza/spring-boot-skillsSkill37013d agoMITA37Claude Code, Codex
spring-batchrrezartprebreza/spring-boot-skillsSkill37013d agoMITA66Claude Code, Codex
transactional-patternsrrezartprebreza/spring-boot-skillsSkill37013d agoMITA53Claude Code, Codex
oauth2-resource-serverrrezartprebreza/spring-boot-skillsSkill37013d agoMITA47Claude Code, Codex
rest-api-conventionsrrezartprebreza/spring-boot-skillsSkill37013d agoMITA57Claude Code, Codex
hateoasrrezartprebreza/spring-boot-skillsSkill37013d agoMITA44Claude Code, Codex