feat: 添加 AgentMail 通知配置
This commit is contained in:
42
openclaw/xinghui/agentmail-notification-setup.md
Normal file
42
openclaw/xinghui/agentmail-notification-setup.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# AgentMail 通知设置
|
||||
|
||||
**创建时间**: 2026-03-25
|
||||
|
||||
## 概述
|
||||
|
||||
已配置 cron job 定期检查 AgentMail 收件箱,新邮件将发送通知到 Slack。
|
||||
|
||||
## 配置详情
|
||||
|
||||
### AgentMail 收件箱
|
||||
- **地址**: xinghui@agentmail.to
|
||||
- **API Key**: am_us_inbox_f6bb4fa4377b77f06a6a9e88a8642cdc6065c05c812241f4350f957c6a32aeef
|
||||
|
||||
### Cron Job
|
||||
- **名称**: Check AgentMail Inbox
|
||||
- **频率**: 每 5 分钟
|
||||
- **任务**: 检查收件箱新邮件(非发送的邮件),并发送摘要到 Slack
|
||||
- **通知渠道**: Slack (user:U0AMK6TPUHG)
|
||||
|
||||
### Cron Job ID
|
||||
```
|
||||
b362be68-92d2-4283-8e9a-a159e97b5797
|
||||
```
|
||||
|
||||
## 相关命令
|
||||
|
||||
```bash
|
||||
# 查看 cron jobs
|
||||
openclaw cron list
|
||||
|
||||
# 查看特定 job 详情
|
||||
openclaw cron get b362be68-92d2-4283-8e9a-a159e97b5797
|
||||
|
||||
# 删除 cron job
|
||||
openclaw cron delete b362be68-92d2-4283-8e9a-a159e97b5797
|
||||
```
|
||||
|
||||
## 注意事项
|
||||
|
||||
- AgentMail 技能需要安装: `pip install agentmail socksio`
|
||||
- 如果需要更实时的通知,可以考虑配置 Webhook(需要公网 URL)
|
||||
Reference in New Issue
Block a user