clawd%3Amail by codexclawd/codexclawd
npx skills add https://github.com/codexclawd/codexclawd --skill Clawd:MailBrutus 网格的内部邮件分发系统。
# 简单文本邮件
clawd-mail send to@example.com "Subject" "Body text"
# HTML 邮件
clawd-mail send to@example.com "Subject" "<h1>HTML</h1>" --html
# 直接使用脚本(默认自动抄送至 flo.schoedl@gmail.com)
python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/send.py \
--to to@example.com \
--subject "Hello" \
--body "Message here"
# 不抄送
python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/send.py \
--to to@example.com \
--subject "Hello" \
--body "Message here" \
--cc ""
# 自定义抄送
python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/send.py \
--to to@example.com \
--subject "Hello" \
--body "Message here" \
--cc "other@example.com"
import sys
sys.path.insert(0, '/home/boss/.openclaw/workspace/skills/clawd-mail/scripts')
from send import send_mail
send_mail(
to="recipient@example.com",
subject="Subject",
body="Body",
html=False,
cc="flo.schoedl@gmail.com" # 可选抄送
)
凭据存储在 ~/.config/fastmail/creds:
Internal email dispatch system for the Brutus mesh.
# Simple text email
clawd-mail send to@example.com "Subject" "Body text"
# HTML email
clawd-mail send to@example.com "Subject" "<h1>HTML</h1>" --html
# Direct script usage (auto-CCs flo.schoedl@gmail.com by default)
python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/send.py \
--to to@example.com \
--subject "Hello" \
--body "Message here"
# Without CC
python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/send.py \
--to to@example.com \
--subject "Hello" \
--body "Message here" \
--cc ""
# With custom CC
python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/send.py \
--to to@example.com \
--subject "Hello" \
--body "Message here" \
--cc "other@example.com"
import sys
sys.path.insert(0, '/home/boss/.openclaw/workspace/skills/clawd-mail/scripts')
from send import send_mail
send_mail(
to="recipient@example.com",
subject="Subject",
body="Body",
html=False,
cc="flo.schoedl@gmail.com" # Optional CC
)
Creds stored at ~/.config/fastmail/creds:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
clawd@fastmail.com:APP_PASSWORD
更新凭据:
chmod 600 ~/.config/fastmail/creds
| 脚本 | 用途 |
|---|---|
send.py | 核心 SMTP 发送器 |
imap_monitor.py | 带 Telegram 通知的实时收件箱监控器 |
当 Fastmail 收件箱收到新邮件时,获取即时 Telegram 通知。
1. 配置 Telegram 机器人:
mkdir -p ~/.config/fastmail
cp /home/boss/.openclaw/workspace/skills/clawd-mail/imap_monitor_config.example.json \
~/.config/fastmail/monitor_config.json
# 编辑配置并添加你的机器人令牌和聊天 ID
nano ~/.config/fastmail/monitor_config.json
获取你的 Telegram 凭据:
2. 启动监控器:
# 在前台运行(用于测试)
python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/imap_monitor.py
# 在后台运行(生产环境)
nohup python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/imap_monitor.py > /tmp/imap_monitor.log 2>&1 &
# 或使用 systemd(推荐用于自动启动)
sudo systemctl enable --now clawd-mail-monitor
📧 收到新邮件
发件人:Amazon <orders@amazon.de>
主题:您的订单已发货
预览:
您的包裹正在路上!在此处跟踪:...
---
邮件 ID:12345
{
"telegram_bot_token": "123456:ABC...",
"telegram_chat_id": "123456789",
"fastmail_imap_server": "imap.fastmail.com",
"check_interval": 1, // IDLE 超时时间(分钟)
"max_summary_length": 500, // 摘要最大字符数
"ignore_spam": true, // 跳过垃圾邮件文件夹
"ignore_read": true, // 跳过已读邮件
"notification_cooldown": 30 // 通知间隔时间(秒)
}
✅ Fastmail 集成已激活 📧 发件人:clawd@fastmail.com
每周安装数
1
仓库
首次出现
今天
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
clawd@fastmail.com:APP_PASSWORD
To update credentials:
chmod 600 ~/.config/fastmail/creds
| Script | Purpose |
|---|---|
send.py | Core SMTP sender |
imap_monitor.py | Real-time inbox monitor with Telegram notifications |
Get instant Telegram notifications when new emails arrive in your Fastmail inbox.
1. Configure Telegram bot:
mkdir -p ~/.config/fastmail
cp /home/boss/.openclaw/workspace/skills/clawd-mail/imap_monitor_config.example.json \
~/.config/fastmail/monitor_config.json
# Edit config and add your bot token + chat ID
nano ~/.config/fastmail/monitor_config.json
Get your Telegram credentials:
2. Start the monitor:
# Run in foreground (for testing)
python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/imap_monitor.py
# Run in background (production)
nohup python3 /home/boss/.openclaw/workspace/skills/clawd-mail/scripts/imap_monitor.py > /tmp/imap_monitor.log 2>&1 &
# Or with systemd (recommended for auto-start)
sudo systemctl enable --now clawd-mail-monitor
📧 New Email Received
From: Amazon <orders@amazon.de>
Subject: Your order has shipped
Preview:
Your package is on its way! Track it here: ...
---
Message ID: 12345
{
"telegram_bot_token": "123456:ABC...",
"telegram_chat_id": "123456789",
"fastmail_imap_server": "imap.fastmail.com",
"check_interval": 1, // IDLE timeout in minutes
"max_summary_length": 500, // Characters in summary
"ignore_spam": true, // Skip spam folder
"ignore_read": true, // Skip already-read emails
"notification_cooldown": 30 // Seconds between notifications
}
✅ Fastmail integration active 📧 Sender: clawd@fastmail.com
Weekly Installs
1
Repository
First Seen
Today
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
前端代码审计工具 - 自动化检测可访问性、性能、响应式设计、主题化与反模式
37,200 周安装