← 返回
沟通协作 Key 中文

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...
使用 Resend API 发送邮件。无需配置 SMTP 服务器。支持文本和 HTML 邮件、多个收件人、抄送等。
aprilvkuo
沟通协作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 764
下载
💾 14
安装
1
版本
#email#latest#messaging#notification#resend

概述

Resend Email Sender

Send emails via Resend API - no SMTP configuration needed.

Quick Start

1. Configure

Set environment variables in .env:

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

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

Usage

Basic Text Email

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

HTML Email

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

Multiple Recipients

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

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:

# 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

VariableRequiredDefaultDescription
------------------------------------------
RESEND_API_KEYYes-Your Resend API key
RESEND_FROMNoonboarding@resend.devDefault 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 07:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 114 📥 52,449
communication-collaboration

Gmail

byungkyu
Gmail API 集成,托管 OAuth,支持读取、发送和管理邮件、线程、标签及草稿,适用于需要与 Gmail 交互的场景。
★ 72 📥 37,742
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,596