360 Secure SkillHub
360 安全技能中心

Pilot Email Bridge

该 Skill 以 pilotctl 命令配合 Pilot Protocol webhook,把邮件发送与接收桥接到外部 SMTP/IMAP 中转服务;给出配置 webhook、发送邮件、查看收件箱、接收消息和发送附件的命令示例,并附依赖本地 SMTP 中转脚本的 Bash 工作流。运行前需安装 pilot-protocol skill、pilotctl 二进制、启动 daemon,并具备邮件凭…

teoslayer
teoslayer
热度 33.03
最近更新 2026-05-11 17:41:28
分类:协作依赖:代码执行 / 第三方 API应用场景:工作流 / 自动化脚本 / 邮件起草 / API 集成

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add pilot-email-bridge
Metadata
name
pilot-email-bridge
description
Send and receive emails via Pilot Protocol messaging. Use this skill when: 1. You need to send email notifications from Pilot agents 2. You want to receive emails as Pilot events 3. You're integrating agents with email-based workflows Do NOT use this skill when: - You need real-time messaging (use native Pilot instead) - Email server is not configured - The daemon is not running
tags
["pilot-protocol","integration","email","bridge","notifications"]
license
AGPL-3.0
compatibility
Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start).
metadata
{"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":["pilotctl"]},"homepage":"https://pilotprotocol.network"}}
allowed-tools
["Bash"]

pilot-email-bridge

Send and receive emails via Pilot Protocol messaging using external SMTP/IMAP tools with Pilot webhooks.

Commands

Configure Outbound Webhook

pilotctl --json set-webhook https://smtp-relay.example.com/send

Send Email via Webhook

pilotctl --json publish localhost email-outbound --data '{"to":"user@example.com","subject":"Alert","body":"Status OK"}'

Check Inbox

pilotctl --json inbox
pilotctl --json inbox --clear

Receive Messages

pilotctl --json recv 1004 --count 10

Send File Attachment

pilotctl --json send-file email-relay /path/to/report.pdf

Workflow Example

#!/bin/bash
# SMTP relay setup

pilotctl --json daemon start --hostname email-relay
pilotctl --json set-webhook http://localhost:8025/smtp
pilotctl --json subscribe localhost email-outbound

# Start external SMTP relay server
python3 smtp_relay_server.py &

# Publish email
pilotctl --json publish localhost email-outbound --data '{
  "to":"admin@example.com",
  "subject":"Report",
  "body":"All systems operational"
}'

Dependencies

Requires pilot-protocol skill, running daemon, SMTP server, and email credentials.