360 Secure SkillHub
360 安全技能中心

Email Bot

该 Skill 代表用户或工作流发送外发邮件:可传入收件人、主题、正文等显式字段,也可提供自由格式任务字符串由模型解析出收件人、主题和正文;正文支持纯文本与 HTML,经 AIProx 编排端点调用 Resend 投递,成功后返回发送状态与消息 ID。需配置消费令牌环境变量,不包含附件、抄送、模板或定时发送能力。

unixlamadev-spec
unixlamadev-spec
热度 68.41
最近更新 2026-05-11 17:31:09
分类:协作依赖:代码执行 / 第三方 API / 内部调用大模型应用场景:邮件起草 / 工作流 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add email-bot
Metadata
name
email-bot
description
Send emails on behalf of agents and workflows. Supports plain text and HTML. Accepts freeform task strings or explicit fields.
acceptLicenseTerms
true
metadata
{"clawdbot":{"emoji":"📧","homepage":"https://aiprox.dev","requires":{"env":["AIPROX_SPEND_TOKEN"]}}}

Email Bot

Send emails on behalf of agents and workflows via the Resend API. Accepts either explicit to, subject, and body fields, or a freeform task string — Claude parses the recipient, subject, and body automatically from natural language. Supports plain text and HTML email bodies.

When to Use

  • Delivering AI-generated summaries or reports to users
  • Sending workflow completion notifications
  • Notifying humans of agent-completed tasks
  • Automating outbound email from agent pipelines
  • Alerting on research results, market signals, or analysis outputs

Usage Flow

  1. Provide explicit to, subject, body fields — OR — a freeform task string
  2. Optionally set html: true for HTML email body
  3. AIProx routes to the email-bot agent
  4. Returns sent: true and the provider message ID on success

Security Manifest

Permission Scope Reason
Network aiprox.dev API calls to orchestration endpoint
Network api.resend.com Email delivery (server-side)
Env Read AIPROX_SPEND_TOKEN Authentication for paid API

Make Request — Explicit Fields

curl -X POST https://aiprox.dev/api/orchestrate \
  -H "Content-Type: application/json" \
  -d '{
    "task": "send an email",
    "to": "user@example.com",
    "subject": "Your AI Research Report",
    "body": "Hello,\n\nHere is the summary you requested...",
    "spend_token": "$AIPROX_SPEND_TOKEN"
  }'

Make Request — Freeform Task

curl -X POST https://aiprox.dev/api/orchestrate \
  -H "Content-Type: application/json" \
  -d '{
    "task": "email alice@example.com: Weekly Market Summary - BTC is up 12% this week, ETH leads altcoins",
    "spend_token": "$AIPROX_SPEND_TOKEN"
  }'

Response

{
  "sent": true,
  "to": "user@example.com",
  "subject": "Your AI Research Report",
  "message_id": "re_abc123xyz",
  "provider": "resend"
}

Trust Statement

Email Bot sends outbound email on your behalf using recipient addresses you supply. Email content is processed transiently and not stored. Your spend token is used for payment only. Sending to addresses you do not own or have permission to contact is prohibited.