产品 / Mailaya
Mailaya

Mailaya

用你自己电脑上的 Laya 模型整理网页版 Gmail 和 Outlook。邮件只在本机分析,不会离开你的电脑。

收件箱与钓鱼警告
收件箱标记,以及打开可疑邮件时的链接和发件人检查

安装

Mailaya 分两部分:浏览器扩展,和负责模型判断的本地 Laya 服务。只装扩展也能用:链接检查、发件人检查和发送前的附件、主题检查不依赖模型。重要度、待回复和「问一问」需要本地服务。

1. 安装扩展

  1. 下载 mailaya-0.7.0.zip,解压到一个会一直保留的文件夹(比如「文稿/Mailaya」)。
  2. 在 Chrome 地址栏打开 chrome://extensions,打开右上角的「开发者模式」。
  3. 点「加载已解压的扩展程序」,选择刚才解压出的文件夹(里面直接有 manifest.json)。
  4. 刷新已经打开的 Gmail / Outlook 页面。
不要移动或删除这个文件夹。Chrome 按文件夹路径识别扩展,换了位置再加载,你的设置、纠错记录和问答记录都会重新开始。Edge、Brave、Arc 等 Chromium 浏览器同样可用。

2. 安装本地服务(macOS)

需要:macOS(Apple Silicon 最快,会用到 GPU)、约 3 GB 磁盘、约 4 GB 空闲内存。

  1. 下载 mailaya-server-0.7.0.zip,解压到一个会一直保留的位置。服务会从这个文件夹运行。
  2. 打开「终端」,进入文件夹并运行:
    cd ~/Downloads/mailaya-server
    ./setup.sh
    脚本会依次:安装 uv(Python 包管理器)→ 建立 Python 环境并安装 Laya → 下载模型(约 3 GB,只需一次)并自检 → 注册为登录后自动启动、崩溃自动重启的服务。首次大约 5 分钟。
  3. 看到 Ready. 就好了。之后每次登录,服务大约 40 秒加载完模型。

检查服务:curl -s http://127.0.0.1:8765/health,看到 "status": "ready"。扩展的设置页顶部也会显示「本地服务:在线」。

使用

收件箱

打开一封邮件

问一问
问一问:常见问题一键提问,也可以自己输入

写邮件

写了「见附件 / attached」却没加附件、主题为空、语气可能过激时,正文上方会提示。只有发现问题时,点「发送」才会拦一次请你确认;点「仍然发送」照常发出。没有问题时完全不干预。

发送前检查
发送前检查:提到附件却没附件、主题为空

纠错与设置

准确性

Laya 是零样本判断,没有针对你的邮件训练过。在我们的小规模测试里:

判断表现
钓鱼 / 可疑较可靠。再加上链接和发件人的规则检查,是最值得信任的部分。
待回复中等。自动发件人(noreply、通知)和可疑邮件不会被标待回复。
重要度实验性,接近随机。请当参考。
问一问、自定义问题取决于问题,时间细节(「今天」还是「这周」)容易判错。

所以 Mailaya 只提示、不替你处理邮件。用「纠错」可以看到它在你邮件上的真实准确率。

常见问题

装好了但邮件上什么都没出现

刷新 Gmail / Outlook 页面。每次更新或重新加载扩展后,都要刷新已经打开的邮件页面,否则页面里还是旧脚本,会提示「Mailaya 已更新,请刷新页面」。

显示「本机模型未连接,只做了规则检查」

本地服务没运行。在终端里再运行一次 ./setup.sh(已完成的步骤会自动跳过),或查看日志 ~/Library/Logs/laya-server.log。刚登录后的 40 秒里服务还在加载模型,显示「加载模型中」属于正常。

Outlook 上有什么不同

支持 outlook.live.com(个人账号),工作账号(outlook.office.com 等)已启用但测试较少。待回复清单里的 Outlook 邮件点开只会回到收件箱,定位不到那一封。

不是 Mac 能用吗

扩展可以;本地服务需要手动运行,见安装包里的 README.txt。没有 Apple GPU 时用 CPU,会明显慢。

判断结果会重新计算吗

不会,结果缓存在本机,刷新页面直接显示。修改了问题(比如新增自定义问题)才会重新判断;只改阈值不用。

更新与卸载

隐私细节见 隐私说明。问题反馈:[email protected]

Mailaya 与 Google、Microsoft 无关联。Gmail 是 Google LLC 的商标,Outlook 是 Microsoft Corporation 的商标。Laya 由 Convai Innovations 以 Apache-2.0 协议开源。

Products / Mailaya
Mailaya

Mailaya

Triage Gmail and Outlook on the web with a Laya model running on your own computer. Mail is analysed locally and never leaves your machine.

The extension's interface is in Chinese for now.
Inbox badges and phishing warning
Inbox badges, and the link and sender check on a suspicious mail

Install

Mailaya has two parts: the browser extension, and the local Laya service that does the model work. The extension alone already runs the link, sender and draft attachment/subject checks; importance, needs-reply and “Ask” need the service.

1. The extension

  1. Download mailaya-0.7.0.zip and unzip it into a folder you keep (e.g. Documents/Mailaya).
  2. Open chrome://extensions and switch on Developer mode (top right).
  3. Click Load unpacked and pick the unzipped folder (the one that contains manifest.json).
  4. Reload any open Gmail / Outlook tab.
Don't move or delete that folder: Chrome identifies the extension by its path, and loading it from somewhere else starts over with empty settings and history. Works in Edge, Brave and Arc too.

2. The local service (macOS)

Needs macOS (Apple Silicon is fastest, it uses the GPU), about 3 GB of disk and 4 GB of free memory.

  1. Download mailaya-server-0.7.0.zip and unzip it somewhere permanent; the service runs from that folder.
  2. In Terminal:
    cd ~/Downloads/mailaya-server
    ./setup.sh
    It installs uv (a Python package manager), a Python environment with Laya, downloads the models (~3 GB, once) with a self-test, and registers a login service that restarts on crash. About 5 minutes the first time.
  3. Done when it prints Ready. After each login the service takes ~40 s to load.

Check it with curl -s http://127.0.0.1:8765/health → "status": "ready"; the extension's settings page also shows the service as online.

Use

Inbox

An opened mail

Ask
Ask: preset questions or your own

Writing

Mentioning an attachment without attaching one, an empty subject, or a possibly hostile tone shows a note above the body. Only then does clicking Send ask you to confirm once; “send anyway” sends normally. Otherwise sending is never touched.

Send check
Send check: attachment mentioned but missing, empty subject

Corrections & settings

Accuracy

Laya judges zero-shot; it was never trained on your mail. In our small tests:

JudgmentHow it does
Phishing / suspiciousFairly reliable; with the link and sender rules this is the most trustworthy part.
Needs replyModerate. Automated senders and suspicious mail are never marked.
ImportanceExperimental, close to chance. Treat as a hint.
Ask, custom questionsDepends on the question; timing details (“today” vs “this week”) trip it up.

That's why Mailaya only suggests and never acts on your mail. Corrections show how it does on yours.

FAQ

Installed, but nothing shows on my mail

Reload the Gmail / Outlook tab. After every update or reload of the extension, reload open mail tabs; otherwise the page keeps the old script and says the extension was updated.

“Local model not connected, rules only”

The service isn't running. Run ./setup.sh again (finished steps are skipped) or read ~/Library/Logs/laya-server.log. For ~40 s after login it is still loading, which is normal.

Outlook differences

outlook.live.com (personal) is supported; work accounts (outlook.office.com …) are enabled but less tested. Outlook entries in the pending-reply list open the inbox, not the exact mail.

Not on a Mac?

The extension works; run the service by hand as described in the bundle's README.txt. Without an Apple GPU it runs on CPU, noticeably slower.

Does it re-analyse mail on every reload?

No, results are cached locally. Changing the questions (e.g. adding a custom one) re-analyses; changing thresholds doesn't.

Update & remove

Details in the privacy policy. Feedback: [email protected]

Mailaya is not affiliated with Google or Microsoft. Gmail is a trademark of Google LLC; Outlook is a trademark of Microsoft Corporation. Laya is open source (Apache-2.0) by Convai Innovations.

Mailaya · htpu.net/products · github.com/htpu/mailaya[email protected]