jev-gmail-classifier
Google Apps Script that labels, archives or trashes Gmail conversations based on Jev answers to your plain-English yes/no questions.
Overview
Jev Gmail Classifier is a Google Apps Script project that sorts Gmail conversations by content. You write plain-English yes/no questions such as 'Is this email a bill or invoice?'; Jev answers each with a probability, and the script applies the question's Gmail label, or optionally moves the conversation to Archive, Spam or Trash, when the answer is likely enough. It runs in the background inside your Google account with no server.
Selected headers and the plain-text body are sent to TypeSafe's API, never attachments, and an exclusion query can keep chosen mail from being sent at all. The project is at version 0.9.0, working end to end and in a pilot on the maintainer's own mailbox before 1.0, with product vision, design and solution documents. It is independent of TypeSafe and Google.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Yes / no | Is this email a bill or invoice? (and other user-defined questions) | — |
How it works
- Define yes/no questions with labels or moves
- Script fetches new conversations, skipping excluded ones
- Jev answers each question with a probability
- Apply labels or moves above the configured threshold
Strengths
- No server to host
- User-defined questions in plain English
- Attachments never sent; exclusion query available
Caveats
- Email content goes to a third-party API
- Pre-release (0.9.0)
Getting started
Set up the Apps Script project in your Google account per the README Configuration section.At a glance
- Type
- Project
- Status
- beta
- Language
- JavaScript
- Runtime
- Google Apps Script
- Has code
- yes
Use cases and integrations
How curated lists describe it
Google Apps Script that classifies Gmail messages with Jev, TypeSafe.
wh000wh000/awesome-jev-live
Frequently asked questions
What does Jev decide?
The probability that each of your yes/no questions is true for a conversation.
What data is sent?
Selected headers and the plain-text body; attachments are never sent.
Is it production ready?
It is pre-release 0.9.0 in a pilot.
Related projects
Open-source AI email assistant; listed as using Jev as an optional classifier for email intent and triage.
ProjectproductionTypeScriptTriage for DingTalk mail and chats where Jev sorts messages into needs-reply, updates, promo, sales or spam with attention flags.
ProjectbetaPythonGmail classifier running on Google Apps Script where Jev decides action-needed, importance and category for each thread.
ProjectbetaTypeScriptChrome/Brave extension that uses Jev to classify, label and safely bulk-clean a Gmail inbox with undo.
PluginbetaJavaScriptDry-run-first Proton Mail Bridge triage on macOS where Jev answers whether each message is spam or phishing.
ProjectbetaPythonAndroid and Windows message-priority assistant where Jev scores urgency and reply-now for each message and sorts them by colour.
ProjectbetaKotlin