Install
openclaw skills install qui-email-sendSend a quick email via SkillBoss API Hub without a local mail client.
openclaw skills install qui-email-sendSend a quick email via SkillBoss API Hub. Requires SKILLBOSS_API_KEY env var.
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>"
}
})
receivers -- list of recipient email addressestitle -- email subject linebody_html -- email body HTMLcc -- list of carbon copy recipientsbcc -- list of blind carbon copy recipientsSet your SkillBoss API key:
export SKILLBOSS_API_KEY=your_key_here