Install
openclaw skills install pilot-email-bridgeSend 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 e...
openclaw skills install pilot-email-bridgeSend and receive emails via Pilot Protocol messaging using external SMTP/IMAP tools with Pilot webhooks.
pilotctl --json set-webhook https://smtp-relay.example.com/send
pilotctl --json publish localhost email-outbound --data '{"to":"user@example.com","subject":"Alert","body":"Status OK"}'
pilotctl --json inbox
pilotctl --json inbox --clear
pilotctl --json recv 1004 --count 10
pilotctl --json send-file email-relay /path/to/report.pdf
#!/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"
}'
Requires pilot-protocol skill, running daemon, SMTP server, and email credentials.