360 Secure SkillHub
360 安全技能中心

Email Bot

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

分类:协作
unixlamadev-spec
unixlamadev-spec
热度 35.65
最近更新 2026-05-11 17:31:09

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add unixlamadev-spec/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.