openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Resend Email Sender

Send emails using Resend API. Use when the user needs to send emails without configuring SMTP servers. Supports text and HTML emails, multiple recipients, CC...

通信与消息

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 238 · 1 current installs · 1 all-time installs

0

安装量(当前) 1

🛡 VirusTotal :良性 · OpenClaw :可疑

Package:aprilvkuo/resend-email-sender

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :可疑

OpenClaw 评估

The skill is mostly what it says (sends email via Resend) but has inconsistencies and a surprising behavior (it looks for and loads a .openclaw workspace .env), and the registry metadata does not declare the required RESEND_API_KEY — review before use.

目的

The code and SKILL.md implement sending mail via Resend and need a RESEND_API_KEY and optional RESEND_FROM; this matches the declared purpose. However the registry metadata claims no required env vars/credentials while the runtime requires RESEND_API_KEY — an inconsistency that should be corrected or explained.

说明范围

The included script load_env() will look for and parse a .env file in two places: home/.openclaw/workspace/.env and ./ .env, and will inject any key=value pairs into the process env if not already set. Loading home/.openclaw/workspace/.env is surprising: that path may contain unrelated secrets or environment variables. The script only sends data to the Resend API, but implicitly importing arbitrary .env variables increases scope and risk.

安装机制

No install spec or external downloads; this is an instruction-only skill with a bundled Python script. Nothing is fetched from external URLs and no archives are extracted.

证书

Runtime requires a single API credential (RESEND_API_KEY) which is proportionate to sending email via Resend. However the skill also reads .openclaw workspace .env and will load any variables there into the environment — this could expose unrelated secrets if that .env contains them. Also the registry metadata failing to declare RESEND_API_KEY reduces transparency.

持久

Skill does not request always:true, does not modify other skills or system configuration, and does not persist new credentials itself. Autonomous invocation is allowed by default (normal for skills) and is not combined with other high-risk flags.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Resend Email Sender」。简介:Send emails using Resend API. Use when the user needs to send emails without co…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aprilvkuo/resend-email-sender/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: resend-email
description: Send emails using Resend API. Use when the user needs to send emails without configuring SMTP servers. Supports text and HTML emails, multiple recipients, CC/BCC, and bulk sending. Ideal for notifications, alerts, newsletters, and automated email workflows.
---

# Resend Email Sender

Send emails via Resend API - no SMTP configuration needed.

## Quick Start

### 1. Configure

Set environment variables in `.env`:

```bash
RESEND_API_KEY=your_resend_api_key
RESEND_FROM=onboarding@resend.dev  # Optional, defaults to Resend test domain
```

Get API key at https://resend.com

### 2. Send Email

```bash
openclaw run resend-email 
  --to="recipient@example.com" 
  --subject="Hello" 
  --text="Plain text message"
```

## Usage

### Basic Text Email

```bash
openclaw run resend-email 
  --to="user@example.com" 
  --subject="Notification" 
  --text="Your task is complete."
```

### HTML Email

```bash
openclaw run resend-email 
  --to="user@example.com" 
  --subject="Welcome" 
  --html="<h1>Welcome!</h1><p>Thanks for joining.</p>"
```

### Multiple Recipients

```bash
openclaw run resend-email 
  --to="user1@example.com,user2@example.com,user3@example.com" 
  --subject="Team Update" 
  --text="Meeting at 3 PM."
```

### CC and BCC

```bash
openclaw run resend-email 
  --to="primary@example.com" 
  --cc="manager@example.com" 
  --bcc="archive@example.com" 
  --subject="Report" 
  --text="Please find the attached report."
```

### From Agent

When agent needs to send email:

```bash
# Use exec to call the skill
exec openclaw run resend-email 
  --to="recipient@example.com" 
  --subject="Automated Notification" 
  --text="This email was sent automatically by the agent."
```

## Configuration Options

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `RESEND_API_KEY` | Yes | - | Your Resend API key |
| `RESEND_FROM` | No | `onboarding@resend.dev` | Default sender address |

## Sender Addresses

- **Test domain**: `onboarding@resend.dev` (default, no setup required)
- **Custom domain**: `noreply@yourdomain.com` (requires domain verification in Resend dashboard)

## Limitations

- Attachments not supported (Resend API requires base64 encoding)
- Rate limits apply based on Resend plan
- Email size limits per Resend documentation

## Troubleshooting

**"RESEND_API_KEY not configured"**
- Set `RESEND_API_KEY` in `.env` file or environment

**"Failed to send email: Unauthorized"**
- Check API key is correct and active
- Verify API key has email sending permission

**"Failed to send email: Bad Request"**
- Check recipient email format is valid
- Verify `from` address is verified (for custom domains)

## Resources

- `scripts/send_email.py` - Main email sending script