mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-04-21 16:10:56 +08:00
feat: 新增邮箱操作全局内建技能 (mail-operations)
- 支持 Gmail / Outlook / IMAP (QQ、163 等) 全部邮件操作 - 包含账户管理、邮件收发、搜索、标签/分类、草稿、自动规则、附件下载 - 支持 auto_reply 和 agent_handle 两种自动化规则动作 - 从原始 1357 行文档优化为 342 行 SKILL.md,表格化 API 参考 - risk_level: medium(涉及发送邮件等写操作) - 注册到 builtin-skills.json 清单
This commit is contained in:
21
skills/mail-operations/references/offline-queue.md
Normal file
21
skills/mail-operations/references/offline-queue.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# 离线队列 API
|
||||
|
||||
当网络不可用时,写操作会进入离线队列,恢复网络后自动处理。
|
||||
|
||||
| 操作 | 方法 | 端点 |
|
||||
|------|------|------|
|
||||
| 获取队列状态 | GET | `/offline/status` |
|
||||
| 获取队列操作 | GET | `/offline/queue` |
|
||||
| 添加操作到队列 | POST | `/offline/queue` — body: `{type, provider, email, mailId, params}` |
|
||||
| 移除单个操作 | DELETE | `/offline/queue/{operationId}` |
|
||||
| 清空队列 | DELETE | `/offline/queue` |
|
||||
| 清除失败操作 | DELETE | `/offline/failed` |
|
||||
| 手动处理队列 | POST | `/offline/process` |
|
||||
|
||||
## 同步状态
|
||||
|
||||
| 操作 | 方法 | 端点 |
|
||||
|------|------|------|
|
||||
| 获取同步状态 | GET | `/sync-status?provider=&email=` — 返回 idle/syncing/error |
|
||||
| 获取轮询引擎状态 | GET | `/polling/status` — 所有账户轮询状态 |
|
||||
| 健康检查 | GET | `/ping`(注意:路径不含 `/api` 前缀) |
|
||||
Reference in New Issue
Block a user