← Back to Skills Marketplace
vladchatware

resend-email

by Vlad Rimsha · GitHub ↗ · v1.0.3
cross-platform ✓ Security Clean
1086
Downloads
0
Stars
4
Active Installs
3
Versions
Install in OpenClaw
/install resend-email
Description
Send emails via Resend API from any verified domain. Use when sending emails, notifications, or automated messages. Supports HTML and plain text. Default voi...
README (SKILL.md)

Resend Email

Send emails from any Resend-verified domain using the Resend API.

Quick Start

# Send simple email
bash skills/resend-email/scripts/send.sh \
  --to "[email protected]" \
  --subject "Subject Line" \
  --body "Email body text"

# With custom from address
bash skills/resend-email/scripts/send.sh \
  --to "[email protected]" \
  --from "[email protected]" \
  --subject "Subject" \
  --body "Body"

Direct API Call

curl -X POST 'https://api.resend.com/emails' \
  -H "Authorization: Bearer $(cat ~/.config/resend/credentials.json | jq -r .api_key)" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": ["[email protected]"],
    "subject": "Subject",
    "text": "Plain text body"
  }'

Configuration

  • Credentials: ~/.config/resend/credentials.json
  • Domain: any Resend-verified domain (configured in your Resend account)
  • Default from: set in credentials.json (e.g., [email protected])

Receiving (Webhook + Clawdbot)

Use this when you want Resend inbound emails to trigger Clawdbot automatically.

1) Enable Clawdbot hooks

{
  hooks: {
    enabled: true,
    token: "\x3Cshared-secret>",
    path: "/hooks",
    transformsDir: "~/.clawdbot/hooks",
    mappings: [
      {
        id: "resend",
        match: { path: "resend" }, // relative to /hooks (no leading slash)
        action: "agent",
        deliver: true,
        channel: "telegram",
        transform: { module: "resend-inbound.js", export: "transform" }
      }
    ]
  }
}

Important: match.path is relative to /hooks (e.g., /hooks/resendresend).

2) Expose the webhook (Tailscale Funnel)

If your gateway is local-only, expose it via Funnel:

/Applications/Tailscale.app/Contents/MacOS/Tailscale funnel --bg 18789

MagicDNS + HTTPS certs must be enabled in your tailnet for TLS to work.

3) Configure Resend webhook

In Resend → Webhooks:

  • URL: https://\x3Cyour-tailnet-host>.ts.net/hooks/resend?token=\x3Cshared-secret>
  • Event: email.received

Resend cannot set custom headers, so use ?token=.

4) Fetch full email content

Resend webhooks do not include body text. Use the receiving API:

GET https://api.resend.com/emails/receiving/:id

(See resend-inbound.js for an example transform that fetches the body.)

Email Voice: The Bureaucrat

See references/voice-bureaucrat.md for the default email tone.

Key traits:

  • Warm, patient, endlessly polite
  • Passive voice ("it is recommended that…")
  • Official jargon ("compliance framework", "pursuant to section 14(b)")
  • Everything framed as "best practices"
  • Bullet points start with "Please note that…"
  • Ends with "We appreciate your cooperation"

Tone: DMV supervisor who smiles while denying your form × LinkedIn thought-leader who genuinely believes bureaucracy is beautiful.

When drafting emails, apply this voice unless instructed otherwise.

HTML Emails

curl -X POST 'https://api.resend.com/emails' \
  -H "Authorization: Bearer $RESEND_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": ["[email protected]"],
    "subject": "Subject",
    "html": "\x3Ch1>Hello\x3C/h1>\x3Cp>HTML content\x3C/p>"
  }'

Notes

  • send.sh preserves line breaks in --body (no literal \ output).
  • Use --html for rich formatting; default is plain text.

Common Patterns

Transactional notification:

# Order confirmation, welcome email, etc.
bash skills/resend-email/scripts/send.sh \
  --to "[email protected]" \
  --subject "Your Request Has Been Processed" \
  --body "$(cat \x3C\x3C'EOF'
Dear Valued Individual,

Please note that your recent submission has been received and processed in accordance with standard operating procedures.

It should be understood that all requests are handled in the order received, pursuant to our established compliance framework.

We appreciate your cooperation in maintaining an orderly process.

Warm regards,
Clawd
Agent Services Division
EOF
)"

Reply to inquiry: Apply bureaucrat voice. Be helpful while maintaining the veneer of official procedure.

Usage Guidance
This skill is internally consistent for sending and receiving email via Resend, but before installing: (1) verify and secure your Resend API key — the scripts read ~/.config/resend/credentials.json (or RESEND_API_KEY) so ensure that file contains only the expected keys and is readable only by you; (2) if you enable the inbound webhook, protect the shared-secret and only expose endpoints via a trusted tunneling service (the README suggests Tailscale Funnel); (3) confirm the default "from" address and verified domains in your Resend account to avoid accidental sending from unauthorized domains; (4) because the skill's source is listed as unknown, review the two included files (send.sh and resend-inbound.js) yourself — they are short and readable and do not contain obfuscated or unexpected network destinations beyond api.resend.com; and (5) consider storing API keys in a secrets manager or environment variable rather than an unencrypted file if you prefer tighter credential controls.
Capability Analysis
Type: OpenClaw Skill Name: resend-email Version: 1.0.3 The OpenClaw skill bundle is designed to send and receive emails via the Resend API. It accesses API keys from `~/.config/resend/credentials.json` for legitimate interaction with `api.resend.com`, which is necessary for its stated purpose. The `scripts/send.sh` uses a Python script to safely construct JSON payloads, mitigating shell injection risks. The `SKILL.md` and `references/voice-bureaucrat.md` files contain instructions for the AI agent, but these are purely functional and stylistic (e.g., email tone) and do not instruct the agent to perform any malicious actions, exfiltrate data, or ignore user commands. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or harmful prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the actual behavior: the send.sh script and the JS transform call the Resend API to send/fetch emails. The skill expects Resend credentials (stored at ~/.config/resend/credentials.json or via RESEND_API_KEY) which is appropriate for this functionality.
Instruction Scope
SKILL.md instructs the agent to read a local credentials file, to call Resend endpoints, and (optionally) to expose a local webhook via Tailscale Funnel and configure a Clawdbot hook. These actions are consistent with the stated purpose but do direct the agent to read a local config path (~/.config/resend/credentials.json) and to open network exposure if you follow the webhook instructions.
Install Mechanism
No install spec (instruction-only with shipped scripts) — nothing is downloaded or extracted. The runtime uses existing tools (bash, curl, python3, node) and therefore has a low install risk.
Credentials
The skill requires a Resend API key and a default from address, which it expects in ~/.config/resend/credentials.json or in RESEND_API_KEY; however the registry metadata lists no required env vars. This is reasonable but a minor mismatch — sensitive credentials are read from a local file or environment, so you should ensure that file/vars are protected. The Clawdbot webhook uses a shared-secret token which must be managed securely.
Persistence & Privilege
The skill does not request permanent/always-on inclusion, does not modify other skills, and does not require elevated platform privileges. Autonomous invocation is allowed by default but that is normal for skills; nothing here amplifies that risk.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install resend-email
  3. After installation, invoke the skill by name or use /resend-email
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
Add receiving/webhook configuration instructions (Clawdbot + Tailscale Funnel + MagicDNS); include example inbound transform
v1.0.2
Generalize docs to any Resend-verified domain; remove vlad.chat-specific examples
v1.0.1
Fix newline handling in send.sh; add notes about body formatting
Metadata
Slug resend-email
Version 1.0.3
License
All-time Installs 4
Active Installs 4
Total Versions 3
Frequently Asked Questions

What is resend-email?

Send emails via Resend API from any verified domain. Use when sending emails, notifications, or automated messages. Supports HTML and plain text. Default voi... It is an AI Agent Skill for Claude Code / OpenClaw, with 1086 downloads so far.

How do I install resend-email?

Run "/install resend-email" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is resend-email free?

Yes, resend-email is completely free (open-source). You can download, install and use it at no cost.

Which platforms does resend-email support?

resend-email is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created resend-email?

It is built and maintained by Vlad Rimsha (@vladchatware); the current version is v1.0.3.

💬 Comments