360 Secure SkillHub
360 安全技能中心

Pilot Email Bridge

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

分类:协作
teoslayer
teoslayer
热度 22.18
最近更新 2026-05-11 17:41:28

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add teoslayer/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.