闲社服务运行正常AI智能体自动化平台
r

重发邮件

技能标识:resend-email

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.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

重发邮件

Resend 邮件发送器

通过 Resend API 发送邮件,无需配置 SMTP。

快速开始

1. 配置

在 .env 文件中设置环境变量:

bash
RESENDAPIKEY=yourresendapi_key
RESEND_FROM=onboarding@resend.dev # 可选,默认为 Resend 测试域名

在 https://resend.com 获取 API 密钥

2. 发送邮件

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

使用方法

基本文本邮件

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

HTML 邮件

bash
openclaw run resend-email \
--to=user@example.com \
--subject=Welcome \
--html=

Welcome!

Thanks for joining.

多个收件人

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

抄送和密送

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.

从代理发送

当代理需要发送邮件时:

bash

使用 exec 调用技能


exec openclaw run resend-email \
--to=recipient@example.com \
--subject=Automated Notification \
--text=This email was sent automatically by the agent.

配置选项

变量必需默认值描述
RESENDAPIKEY是-您的 Resend API 密钥
RESEND_FROM
否 | onboarding@resend.dev | 默认发件人地址 |

发件人地址

  • - 测试域名:onboarding@resend.dev(默认,无需设置)
  • 自定义域名:noreply@yourdomain.com(需在 Resend 控制台验证域名)

限制

  • - 不支持附件(Resend API 需要 base64 编码)
  • 根据 Resend 套餐存在速率限制
  • 邮件大小限制请参考 Resend 文档

故障排除

RESENDAPIKEY not configured

  • - 在 .env 文件或环境中设置 RESENDAPIKEY

Failed to send email: Unauthorized

  • - 检查 API 密钥是否正确且有效
  • 验证 API 密钥是否具有邮件发送权限

Failed to send email: Bad Request

  • - 检查收件人邮箱格式是否有效
  • 验证发件人地址是否已验证(针对自定义域名)

资源

  • - scripts/send_email.py - 主要邮件发送脚本

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 resend-email-sender-1776277656 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 resend-email-sender-1776277656 技能

通过命令行安装

skillhub install resend-email-sender-1776277656

下载

⬇ 下载 resend-email v1.0.0(免费)

文件大小: 3.36 KB | 发布时间: 2026-4-16 17:39

v1.0.0 最新 2026-4-16 17:39
Initial release: Send emails via Resend API, support text/HTML, multiple recipients, CC/BCC
返回顶部