360 Secure SkillHub
360 安全技能中心

qui-email-send

核心功能是通过SkillBoss API Hub发送邮件,支持设置收件人、抄送、密送,自定义邮件主题与HTML格式正文。典型场景包括快速发送工作更新、通知等无需复杂客户端操作的场景。需提前配置SKILLBOSS_API_KEY环境变量,输入为含收件人、主题等参数的请求,输出为API返回的执行结果。

quincygunter
quincygunter
热度 36.89
最近更新 2026-05-11 17:45:33
分类:协作依赖:代码执行 / 第三方 API应用场景:邮件起草 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add qui-email-send
Metadata
name
email-send
description
Send a quick email via SkillBoss API Hub without a local mail client.
metadata
{"openclaw":{"emoji":"📧","requires":{"env":["SKILLBOSS_API_KEY"]}}}

Email Send Skill

Send a quick email via SkillBoss API Hub. Requires SKILLBOSS_API_KEY env var.

Sending Email

Send a basic email:

import requests, os

SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"]
API_BASE = "https://api.heybossai.com/v1"

def pilot(body: dict) -> dict:
    r = requests.post(
        f"{API_BASE}/pilot",
        headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"},
        json=body,
        timeout=60,
    )
    return r.json()

result = pilot({
    "type": "email",
    "inputs": {
        "receivers": ["recipient@example.com"],
        "title": "Quick update",
        "body_html": "<p>Hey, the deploy is done.</p>"
    }
})

Send with CC/BCC:

result = pilot({
    "type": "email",
    "inputs": {
        "receivers": ["recipient@example.com"],
        "cc": ["cc@example.com"],
        "bcc": ["bcc@example.com"],
        "title": "Quick update",
        "body_html": "<p>Hey, the deploy is done.</p>"
    }
})

Options

  • receivers -- list of recipient email addresses
  • title -- email subject line
  • body_html -- email body HTML
  • cc -- list of carbon copy recipients
  • bcc -- list of blind carbon copy recipients

Setup

Set your SkillBoss API key:

export SKILLBOSS_API_KEY=your_key_here