Outil · Outlook · Gmail · IMAPTool · Outlook · Gmail · IMAP工具 · Outlook · Gmail · IMAP

MailClassification

Une application locale qui lit vos boîtes mail — Microsoft 365, Outlook.com, Gmail, n'importe quel serveur IMAP — et range chaque message dans une catégorie que vous avez décrite en français, avec le modèle de décision Jev. Trois façons de s'en servir : un tableau de bord web local, une ligne de commande, et un add-in Outlook (volet de tâche) qui classe le message que vous êtes en train de lire. Elle commence toujours par un aperçu, n'écrit qu'au-dessus d'un seuil de confiance, et s'arrête au budget que vous fixez. Rien ne quitte votre machine, sauf ce que le modèle doit lire. A local app that reads your mailboxes — Microsoft 365, Outlook.com, Gmail, any IMAP server — and files each message under a category you described in plain language, with the Jev decision model. Three ways to use it: a local web dashboard, a command line, and an Outlook add-in (task pane) that classifies the message you're reading. It always starts with a preview, only writes above a confidence threshold, and stops at the budget you set. Nothing leaves your machine except what the model has to read. 一款本地应用,读取您的邮箱——Microsoft 365、Outlook.com、Gmail 或任意 IMAP 服务器——并借助 Jev 决策模型,把每封邮件归入您用自然语言描述的类别。三种使用方式:本地网页控制面板、命令行,以及为您正在阅读的邮件分类的 Outlook 加载项(任务窗格)。它始终先预览,只在置信度超过阈值时写入,并在您设定的预算处停止。除模型必须阅读的内容外,什么都不会离开您的电脑。

Ce que fait MailClassificationWhat MailClassification doesMailClassification 的功能

Trois familles de boîtesThree kinds of mailboxes三类邮箱

Microsoft 365 et Outlook.com par Microsoft Graph, Gmail par IMAP avec un mot de passe d'application Google, et tout serveur IMAP classique (Dovecot, hébergeur). Chaque boîte a sa propre session ; on les traite une par une ou toutes à la suite.Microsoft 365 and Outlook.com through Microsoft Graph, Gmail through IMAP with a Google app password, and any plain IMAP server (Dovecot, hosting providers). Each mailbox has its own session; process them one at a time or all in a row.通过 Microsoft Graph 接入 Microsoft 365 与 Outlook.com,通过 IMAP 加 Google 应用专用密码接入 Gmail,以及任何普通 IMAP 服务器(Dovecot、托管商)。每个邮箱各有会话;可逐个处理,也可一次跑完全部。

Dashboard, CLI, add-in OutlookDashboard, CLI, Outlook add-in控制面板、CLI、Outlook 加载项

Un tableau de bord web local pour parcourir les décisions boîte par boîte, une ligne de commande (mailclassification) pour l'automatiser, et un add-in Outlook — un volet de tâche qui classe le message que vous êtes en train de lire, sans quitter Outlook. Le déploiement de l'add-in dans un Outlook réel est encore en cours de validation.A local web dashboard to review decisions mailbox by mailbox, a command line (mailclassification) to automate it, and an Outlook add-in — a task pane that classifies the message you're currently reading, without leaving Outlook. Sideloading the add-in into a real Outlook is still being validated.本地网页控制面板可逐个邮箱查看分类决策,命令行(mailclassification)用于自动化,Outlook 加载项则是一个任务窗格,无需离开 Outlook 即可为您正在阅读的邮件分类。该加载项在真实 Outlook 中的部署仍在验证中。

Deux étapes, selon la confianceTwo stages, driven by confidence两阶段,由置信度驱动

Jev lit d'abord l'expéditeur, le sujet, les en-têtes de liste et l'aperçu. Si sa confiance est sous votre seuil, ou si une décision d'archivage demande plus de preuves, il relit le message avec son texte, plafonné à 5 000 caractères. Chaque message est une requête indépendante.Jev first reads the sender, subject, list headers and preview. If its confidence is below your threshold, or an archive decision needs more evidence, it reads the message again with its text, capped at 5,000 characters. Every message is an independent request.Jev 先读取发件人、主题、邮件列表头和预览。若置信度低于您的阈值,或归档决定需要更多证据,它会带上正文(上限 5000 字符)再读一次。每封邮件都是独立的一次请求。

Une catégorie par messageOne category per message每封邮件一个类别

Une catégorie Outlook, un label Gmail ou un mot-clé IMAP, selon la boîte. Sept playbooks prêts à l'emploi (boîte universelle, ventes, support…) ou jusqu'à douze règles décrites en une phrase. Seule la catégorie choisie est ajoutée ; rien d'autre n'est touché.An Outlook category, a Gmail label or an IMAP keyword, depending on the mailbox. Seven ready-made playbooks (universal inbox, sales, support…) or up to twelve rules described in one sentence. Only the chosen category is added; nothing else is touched.依邮箱类型写入 Outlook 类别、Gmail 标签或 IMAP 关键字。七套现成的 playbook(通用收件箱、销售、支持……),或最多十二条用一句话描述的规则。只添加选中的类别,其余一概不动。

Aperçu d'abord, archivage sous conditionsPreview first, archiving on conditions先预览,有条件才归档

Par défaut, rien n'est modifié : vous lisez le tableau des décisions et ajustez vos règles. Le mode réel n'applique que les catégories. L'archivage exige trois choses à la fois : le mode archive, une catégorie déclarée éligible, et une confiance au-dessus d'un second seuil plus élevé. L'application ne supprime jamais, n'envoie jamais.By default nothing is changed: you read the decision table and adjust your rules. Live mode applies categories only. Archiving requires three things at once: archive mode, a category declared eligible, and confidence above a second, higher threshold. The app never deletes, never sends.默认不做任何修改:您查看决策表并调整规则。实时模式只写入类别。归档需同时满足三个条件:归档模式、被声明为可归档的类别、以及高于第二道更高阈值的置信度。应用从不删除,从不发送。

Un budget, vérifié avant chaque requêteA budget, checked before every request每次请求前核对预算

Vous fixez un plafond par run (0,10 $ par défaut). Le coût estimé est réservé avant l'envoi, remplacé par le coût réel lu chez OpenRouter après. Quand la prochaine requête dépasserait le plafond, la session s'arrête proprement et attend un budget plus haut. Cent messages d'une boîte Microsoft 365 ont coûté environ un centime.You set a cap per run ($0.10 by default). The estimated cost is reserved before sending, replaced by the actual cost read from OpenRouter afterwards. When the next request would exceed the cap, the session stops cleanly and waits for a higher budget. One hundred messages of a Microsoft 365 mailbox cost about one cent.您为每次运行设定上限(默认 0.10 美元)。发送前先预留估算成本,之后以 OpenRouter 返回的实际成本替换。当下一次请求会超出上限时,会话干净地停止,等待更高预算。一个 Microsoft 365 邮箱的一百封邮件约花费一美分。

Reprenable, local, sans télémétrieResumable, local, no telemetry可续跑、本地、无遥测

Chaque décision est enregistrée avant que la boîte ne soit touchée : une coupure, une limite de débit ou un Ctrl+C mettent la session en pause, et la reprise ne repaie jamais une décision. Tableau de bord sur 127.0.0.1 seulement, mots de passe dans le Trousseau macOS, aucun serveur hébergé, aucune télémétrie.Every decision is saved before the mailbox is touched: a network cut, a rate limit or a Ctrl+C pauses the session, and resuming never pays twice for a decision. Dashboard on 127.0.0.1 only, passwords in the macOS Keychain, no hosted server, no telemetry.每个决策都在触碰邮箱之前保存:断网、限流或 Ctrl+C 只会暂停会话,恢复时绝不为同一决策重复付费。控制面板仅监听 127.0.0.1,密码存于 macOS 钥匙串,没有托管服务器,没有遥测。

C# / .NET 10 Microsoft Graph IMAP Outlook add-in Jev · TypeSafe OpenRouter MIT

Ce qu'il faut pour chaque boîteWhat each mailbox needs每类邮箱所需条件

Microsoft 365 / Outlook.comMicrosoft 365 / Outlook.comMicrosoft 365 / Outlook.com

Une inscription d'application dans Microsoft Entra ID, faite une fois et partagée par toutes vos boîtes Microsoft, puis une connexion par code sur la page Microsoft. Exchange Online n'accepte plus l'IMAP par mot de passe : c'est la seule voie. Un tenant d'entreprise peut exiger l'accord de son administrateur.One app registration in Microsoft Entra ID, done once and shared by all your Microsoft mailboxes, then a device-code sign-in on the Microsoft page. Exchange Online no longer accepts password IMAP: this is the only path. A corporate tenant may require its administrator's consent.在 Microsoft Entra ID 中注册一次应用,供您所有 Microsoft 邮箱共用,然后在 Microsoft 页面用设备代码登录。Exchange Online 已不再接受密码式 IMAP:这是唯一途径。企业租户可能需要管理员同意。

GmailGmailGmail

Un mot de passe d'application Google, créé sur myaccount.google.com/apppasswords après avoir activé la validation en deux étapes. Aucun projet Google Cloud. Les catégories deviennent de vrais labels Gmail ; archiver retire le message de la boîte de réception, il reste dans Tous les messages.A Google app password, created at myaccount.google.com/apppasswords after enabling 2-step verification. No Google Cloud project. Categories become real Gmail labels; archiving removes the message from the Inbox, it stays in All Mail.在开启两步验证后,于 myaccount.google.com/apppasswords 创建一个 Google 应用专用密码。无需 Google Cloud 项目。类别会成为真正的 Gmail 标签;归档会将邮件移出收件箱,但仍保留在“所有邮件”中。

Tout serveur IMAPAny IMAP server任意 IMAP 服务器

Le nom du serveur, le port (993 par défaut) et le mot de passe de la boîte, vérifiés avant d'être gardés. Les catégories sont des mots-clés IMAP, que Dovecot, Courier et Cyrus acceptent ; archiver déplace le message dans un dossier Archive, créé au besoin. Seule la boîte de réception est parcourue.The server name, the port (993 by default) and the mailbox password, verified before being kept. Categories are IMAP keywords, which Dovecot, Courier and Cyrus accept; archiving moves the message to an Archive folder, created if needed. Only the Inbox is scanned.服务器名、端口(默认 993)和邮箱密码,验证通过后才保存。类别为 IMAP 关键字,Dovecot、Courier、Cyrus 均支持;归档会把邮件移入 Archive 文件夹(必要时自动创建)。仅扫描收件箱。

Construire et lancerBuild and run构建与运行

Pas encore de binaire à télécharger : MailClassification se construit depuis le code avec le SDK .NET 10, sur macOS, Windows ou Linux, en une commande. Une clé OpenRouter avec quelques centimes de crédit suffit pour le modèle. Le README du dépôt détaille chaque étape, de l'inscription Entra au premier aperçu de dix messages ; l'architecture est documentée en anglais et en français, et 66 tests couvrent la logique pure. Le guide de l'add-in Outlook explique en plus comment le charger dans Outlook. No binary to download yet: MailClassification builds from source with the .NET 10 SDK, on macOS, Windows or Linux, in one command. An OpenRouter key with a few cents of credit is enough for the model. The repository README walks through every step, from the Entra registration to the first ten-message preview; the architecture is documented in English and French, and 66 tests cover the pure logic. The Outlook add-in guide also covers loading it into Outlook. 目前尚无可下载的二进制文件:MailClassification 使用 .NET 10 SDK 从源码构建,一条命令即可,支持 macOS、Windows 与 Linux。一把带几美分余额的 OpenRouter 密钥就足以调用模型。仓库 README 逐步讲解从 Entra 注册到首次十封邮件预览的每一步;架构文档提供英文与法文版本,66 个测试覆盖纯逻辑部分。Outlook 加载项指南还说明了如何将其载入 Outlook。