Install
openclaw skills install ravenclawManage emails via Ravenclaw bridge: send, schedule, check inbox, list, cancel emails, and forward POP3 messages to Discord webhooks with scheduling.
openclaw skills install ravenclawCategory: Email Automation / Communication
Description: Operate the Ravenclaw Email Bridge — send emails, schedule future emails, check inbox, and manage email workflows. Forward POP3 emails to Discord webhooks with scheduled sending capabilities.
Maintainer: Ibrahim Qureshi (@ibrahimq21)
Tags: email, discord, webhook, automation, smtp, pop3, scheduled
Ravenclaw must be running:
# Start Ravenclaw bridge
cd path/to/ravenclaw
python ravenclaw.py
# Default port: 5002
Environment variables:
RAVENCLAW_URL (optional): Custom URL for Ravenclaw API (default: http://localhost:5002)For users to use this skill:
RAVENCLAW_URLSend an immediate email.
Pattern:
send email to [recipient] with subject [subject] and body [body]
Example:
send email to manager@company.com with subject "Leave Request" and body "I would like to take leave tomorrow."
Parameters:
recipient (required): Email addresssubject (required): Email subject linebody (required): Email contentAPI Call: POST /send
Schedule an email to be sent at a specific time.
Pattern:
schedule email to [recipient] with subject [subject] and body [body] at [time]
Example:
schedule email to hr@company.com with subject "Leave Application" and body "Requesting leave for next Monday" at "2026-02-23T09:00:00"
Parameters:
recipient (required): Email addresssubject (required): Email subject linebody (required): Email contenttime (required): ISO-8601 timestamp (e.g., 2026-02-23T09:00:00)API Call: POST /schedule
Tips:
YYYY-MM-DDTHH:MM:SSView all scheduled emails.
Pattern:
list scheduled emails
show scheduled emails
API Call: GET /schedule/list
Response includes:
Cancel a pending scheduled email.
Pattern:
cancel scheduled email [id]
Example:
cancel scheduled email sched_20260223100000_0
API Call: POST /schedule/cancel/<id>
Trigger a manual inbox check.
Pattern:
check inbox
check emails
API Call: POST /check
Behavior:
Get list of unread emails.
Pattern:
show unread emails
get unread
API Call: GET /unread
Get all emails from inbox.
Pattern:
show inbox
list emails
API Call: GET /inbox
Check Ravenclaw status.
Pattern:
ravenclaw status
ravenclaw health
API Call: GET /health
Response:
View processing statistics.
Pattern:
ravenclaw stats
email statistics
API Call: GET /stats
Includes:
# No special config needed
# Uses http://localhost:5002 by default
# Set environment variable
export RAVENCLAW_URL="http://your-server:5002"
# Required
EMAIL_HOST=mail.yourdomain.com
EMAIL_USERNAME=your@email.com
EMAIL_PASSWORD=yourpassword
# Optional
DOMAIN_FILTER=yourdomain.com
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/...
BRIDGE_PORT=5002
schedule email to manager@company.com with subject "Leave Request - March 2-6" and body "Dear Manager,\n\nI would like to request leave..." at "2026-02-16T10:00:00"
schedule email to team@company.com with subject "Meeting Tomorrow" and body "Don't forget about the sync meeting at 10 AM" at "2026-02-17T09:00:00"
send email to alerts@company.com with subject "System Alert" and body "CPU usage exceeded 90%"
| Error | Cause | Solution |
|---|---|---|
| Connection refused | Ravenclaw not running | Start Ravenclaw: python ravenclaw.py |
| Domain not allowed | Recipient domain not in filter | Update DOMAIN_FILTER in .env |
| target_time must be in future | Scheduled time passed | Use future timestamp |
| SMTP failed | Email server error | Check .env credentials |
Ravenclaw not responding:
# Check if running
curl http://localhost:5002/health
# Start Ravenclaw
cd path/to/ravenclaw
python ravenclaw.py
Emails not sending:
.envDOMAIN_FILTERravenclaw.logScheduled emails not sent:
/schedule/list for statustarget_time is in ISO-8601 formatThis skill requires:
.envlocalhost:5002For community sharing, users need their own Ravenclaw instance with their own email credentials.
README.md in Ravenclaw repo