# Send resend-email to your agent
Use the source page and any available docs to guide the install because the item requires authentication or permission before the package can be fetched.
## Fast path
- Open the source page via Open source page.
- If you can obtain the package, extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the source page and extracted files.
## Suggested prompts
### New install

```text
I tried to install a skill package from Yavira, but the item requires authentication or permission before the package can be fetched. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required.
```
### Upgrade existing

```text
I tried to upgrade a skill package from Yavira, but the item requires authentication or permission before the package can be fetched. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "resend-email",
    "name": "resend-email",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/vladchatware/resend-email",
    "canonicalUrl": "https://clawhub.ai/vladchatware/resend-email",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/resend-email",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=resend-email",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/resend-inbound.js",
      "references/voice-bureaucrat.md",
      "scripts/send.sh"
    ],
    "downloadMode": "manual_only",
    "sourceHealth": {
      "source": "tencent",
      "slug": "resend-email",
      "status": "auth_required",
      "reason": "login_required",
      "recommendedAction": "review_source",
      "checkedAt": "2026-05-12T15:35:58.848Z",
      "expiresAt": "2026-05-15T15:35:58.848Z",
      "httpStatus": 403,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=resend-email",
      "contentType": "text/plain",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=resend-email",
        "contentDisposition": null,
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "resend-email"
      },
      "scope": "item",
      "summary": "Item requires authentication.",
      "detail": "This item appears to require sign-in or permission before the package can be fetched. Open the source page and confirm access manually.",
      "primaryActionLabel": "Open source page",
      "primaryActionHref": "https://clawhub.ai/vladchatware/resend-email"
    },
    "validation": {
      "installChecklist": [
        "Sign in or confirm the required access before retrying the download.",
        "Review SKILL.md after authentication succeeds.",
        "Treat this source as manual setup until the package can be fetched directly."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/resend-email",
    "downloadUrl": "https://openagent3.xyz/downloads/resend-email",
    "agentUrl": "https://openagent3.xyz/skills/resend-email/agent",
    "manifestUrl": "https://openagent3.xyz/skills/resend-email/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/resend-email/agent.md"
  }
}
```
## Documentation

### 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 "recipient@example.com" \\
  --subject "Subject Line" \\
  --body "Email body text"

# With custom from address
bash skills/resend-email/scripts/send.sh \\
  --to "recipient@example.com" \\
  --from "you@yourdomain.com" \\
  --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": "noreply@yourdomain.com",
    "to": ["recipient@example.com"],
    "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., noreply@yourdomain.com)

### Receiving (Webhook + Clawdbot)

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

### 1) Enable Clawdbot hooks

{
  hooks: {
    enabled: true,
    token: "<shared-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/resend → resend).

### 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://<your-tailnet-host>.ts.net/hooks/resend?token=<shared-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": "noreply@yourdomain.com",
    "to": ["recipient@example.com"],
    "subject": "Subject",
    "html": "<h1>Hello</h1><p>HTML content</p>"
  }'

### Notes

send.sh preserves line breaks in --body (no literal \\n 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 "customer@example.com" \\
  --subject "Your Request Has Been Processed" \\
  --body "$(cat <<'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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: vladchatware
- Version: 1.0.3
## Source health
- Status: auth_required
- Item requires authentication.
- This item appears to require sign-in or permission before the package can be fetched. Open the source page and confirm access manually.
- Health scope: item
- Reason: login_required
- Checked at: 2026-05-12T15:35:58.848Z
- Expires at: 2026-05-15T15:35:58.848Z
- Recommended action: Open source page
## Links
- [Detail page](https://openagent3.xyz/skills/resend-email)
- [Send to Agent page](https://openagent3.xyz/skills/resend-email/agent)
- [JSON manifest](https://openagent3.xyz/skills/resend-email/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/resend-email/agent.md)
- [Download page](https://openagent3.xyz/downloads/resend-email)