360 Secure SkillHub
360 安全技能中心

mar-email-send

该 Skill 使用 SkillBoss API Hub 的邮件接口发送邮件,支持指定收件人、主题、HTML 正文以及抄送和密送。需要配置 SKILLBOSS_API_KEY,并通过 Python requests 发起网络请求;未提供本地邮件客户端、模板管理或发送结果查询能力。

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

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add mar-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