Summarization β’ Categorization β’ Spam Scoring
InboxZero AI is a Chrome Extension that enhances Gmail with real-time AI-powered summarization, strict email categorization, and a hybrid spam detection engine.
It transforms cluttered inboxes into structured, readable, and safer communication streams β directly inside Gmail.
- Generates exactly 3 concise bullet points
- Each bullet under 12 words
- Deterministic output (low temperature)
- Long emails auto-truncated for performance
- Powered by Gemini 2.5 Flash Lite
Each email is classified into exactly one category:
- Work
- Personal
- Promo
- Urgent
- Spam
The model is constrained to output one label only β eliminating ambiguity.
InboxZero AI assigns a 0β100 spam score using layered heuristics:
- Bulk sender domain detection
- High-risk scam phrases
- Suspicious URL patterns
- Promotional keyword density
- ALL CAPS subject lines
- Excessive exclamation marks
- Short-message phishing behavior
- Embedded shortened links
Final classification:
safesuspiciousdanger
Users can configure spam threshold in the popup.
Default threshold: 60
This allows precise tuning between aggressive filtering and permissive sorting.
- API key stored via
chrome.storage.sync - No hardcoded credentials
- No password storage
- No backend server
- Fully client-side execution
The extension:
- Injects summary panels directly into Gmail
- Displays category labels inline
- Shows spam score indicators
- Preserves Gmailβs native UI experience
No external dashboard required.
Frontend:
- Chrome Extension (Manifest V3)
- Gmail DOM Injection
AI Layer:
- Gemini 2.5 Flash Lite
- Deterministic prompt design
- Strict response enforcement
Spam Engine:
- Weighted scoring algorithm
- Heuristic pattern detection
- User-controlled sensitivity
Security:
- OAuth-based Gmail access
- No server-side storage
- No email persistence
Before installing, make sure you have:
- Google Chrome (latest version recommended) or any other chromium browser
- Internet connection (required by the extension for summarization and categorization)
- Go to the Releases page of https://github.com/Jay-Jay-Tee/inbox-zero.
- Download the latest
.zipfile from the Assets section. - Extract the ZIP file to a folder on your computer.
- Open Google Chrome (or any other browser).
- Open sidebar and click on extensions.
- Enable Developer mode (toggle in the top-right corner).
- Click Load unpacked.
- Select the extracted project folder (not the ZIP file).
- Follow the setup steps as per necessary.
- The extension will now be installed and visible in your extensions list.
To update the extension:
- Download the latest version from the Releases page.
- Extract the new ZIP file.
- Open
chrome://extensions/. - Click Remove on the old version.
- Click Load unpacked and select the new folder.
- Click the extension icon in the Chrome toolbar.
- Configure settings if available.
- Start using the extension.
- Ensure Developer mode is enabled.
- Make sure you selected the extracted folder, not the ZIP file.
- If errors appear, check the error message shown in
chrome://extensions/.
MIT License β see LICENSE




