Skip to content

v4.0.0 — AI 邮件审核与明确操作

Choose a tag to compare

@github-actions github-actions released this 13 Oct 08:53
· 4 commits to main since this release

邮件取舍交给调用方 AI

cleanup 和 inbox 现在只提供邮件信息、正文预览和 gid。调用方 AI 根据邮件内容和用户意图判断,再用明确选定的 gid 执行移动、标记或删除。

升级注意

  • 旧的 cleanup --confirm、类别删除参数及 cleanup.apply 不再执行操作,返回 explicit_selection_required。
  • 请迁移为:cleanup / email show 审核内容 → 用户授权 → email move、mark、flag 或 delete 操作明确的 gid。
  • 旧分类字段和 inbox 操作数组保留为空,便于现有 JSON 消费方迁移。

其他改进

  • 修复单账号实时邮件列表翻页重复应用 offset 的问题。
  • compact / lean 输出保留判断标志、预览覆盖和翻页信息。
  • 新工作流绕过旧 daemon,避免升级后仍执行旧的关键词分类。
  • 更新 CLI/MCP 契约、技能和 GitHub Release 安装说明。

验证

479项测试和 lint 通过;发布构建运行独立二进制及16个 MCP 工具启动检查。已实测 Gmail 正文预览和分页。

安装或升级

curl -fsSL https://raw.githubusercontent.com/leeguooooo/mail-use/main/install.sh | sh

已安装用户可运行 mail-use upgrade。发布附件包含 macOS ARM64/x64、Linux ARM64/x64 的二进制及 SHA-256 校验文件。