360 Secure SkillHub
360 安全技能中心

Email Bot

该工具基于Resend API代发邮件,核心功能支持通过自然语言自动解析收件人、主题与内容,也可接收明确的to、subject、body字段请求,兼容明文和HTML格式。典型场景包括发送AI生成的总结报告、工作流完成通知、任务提醒等。输入为含认证token的JSON请求,成功后返回含发送状态、消息ID等信息的JSON响应。

unixlamadev-spec
unixlamadev-spec
热度 68.56
最近更新 2026-05-11 17:31:09
分类:自动化依赖:第三方 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.