Repository navigation
Releases
Releases · leeguooooo/mail-use
mail-use v4.0.1
邮件正文和预览
仅含 HTML 正文的邮件现在会在转成纯文本时移除带 hidden 属性、内联 display:none 或 visibility:hidden 的元素内容。email show、email list --with-preview、cleanup 和 inbox 会看到同样的结果。
由 @omergotlieb 在 #40 提交。
v4.0.0 — AI 邮件审核与明确操作
邮件取舍交给调用方 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 校验文件。
v3.8.2
Merge pull request #39 from leeguooooo/fix/upgrade-and-gmail-archive fix: upgrade --json 真正执行升级;Gmail --folder all 能搜到已归档邮件
v3.8.1
Merge pull request #38 from leeguooooo/fix/mail-use-review-fixes fix: 实测清理收件箱时发现的 6 个问题(缓存覆盖、daemon、跨账号、cleanup、去重、换行)
v3.8.0
Features
- packaging: OpenAI plugin directory build (skills only) (#37).
packaging/openai/build.shbuilds the ZIP for the ChatGPT/Codex plugin directory: Codex-format manifest, icon, and a directory-safe SKILL.md (no self-install step, no OTP extraction, no local MCP/daemon setup). - Privacy policy: PRIVACY.md.
v3.7.1
Merge pull request #36 from leeguooooo/fix/gmail-app-password-hint fix(account): Gmail 应用专用密码页显示 not available 时给出明确指引
v3.7.0
Merge pull request #35 from leeguooooo/feat/apple-mail-sync feat: 和苹果「邮件」双向互通,小白也能加邮箱
v3.6.0
Merge pull request #34 from leeguooooo/feat/apple-mail feat: mail-use apple-mail——把账号免配置加到苹果「邮件」
v3.5.1
Merge pull request #33: 全面审查修复——稳定性、安全、性能、Node SEA 构建与依赖升级 fix: 全面审查修复——稳定性、安全、性能、Node SEA 构建与依赖升级
v3.5.0
feat(upgrade): opt-in --skills, channel detection, verified swap (#32) * feat(upgrade): opt-in --skills, channel detection, verified swap `mail-use upgrade` now only upgrades the CLI; skill copies are listed with the command that refreshes them and touched only with `--skills` (a skill-only refresh when the CLI is current). - install channel: release binary vs Homebrew / npm / source checkout; the latter are refused (exit 1) with the owning manager's command, before any download. `--json` and `--check` report it as `install_channel`. - sha256 sidecar is mandatory (missing, malformed or mismatched = exit 2); the extracted binary must run and report the requested version (PKG_* env stripped) before it is staged next to the target and renamed over it. Any failure leaves the installed binary untouched. - install.sh: checksum mandatory, stage + atomic rename. - `--check --tag vX.Y.Z` reports against the pinned release. - skill git pulls never prompt for credentials. - README / README.zh / SKILL.md; tests for version comparison, checksum mismatch and missing checksum, binary verification, channel detection, skills opt-in, and install.sh checksum handling. * fix(upgrade): require the exact version from the downloaded binary