Never miss an Online Assessment invite again!
A Chrome Extension that automatically detects and summarizes Online Assessment (OA) emails using Chrome's built-in AI APIs (Prompt API + Summarizer API).
JobMail AI monitors your Gmail inbox and uses Gemini Nano (Chrome's built-in AI) to:
- ๐ Automatically detect OA invitation emails from companies like HackerRank, CodeSignal, Codility, etc.
- ๐ Summarize email content to extract key details (deadline, platform, instructions)
- ๐ Notify you instantly when an OA email arrives
- โจ Highlight OA emails in your inbox with visual badges
- ๐ Track all detected OA emails in a beautiful dashboard
This extension showcases two of Chrome's powerful built-in AI APIs:
- Prompt API - Classifies emails into categories (OA_INVITE, REJECTION, STATUS_UPDATE, OTHER)
- Summarizer API - Extracts key information and generates summaries
All AI processing happens locally in your browser with Gemini Nano - no data sent to external servers!
-
Clone or Download this repository
git clone <your-repo-url> cd jobmail-ai
-
Enable Chrome AI APIs (Required)
- Open Chrome Canary or Chrome Dev (version 128+)
- Go to
chrome://flags - Enable these flags:
chrome://flags/#optimization-guide-on-device-modelchrome://flags/#prompt-api-for-gemini-nanochrome://flags/#summarization-api-for-gemini-nano
- Relaunch Chrome
-
Load the Extension
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode" (toggle in top right)
- Click "Load unpacked"
- Select the
jobmail-aifolder - The extension icon should appear in your toolbar!
- Open Chrome and go to
-
Open Gmail
- Navigate to https://mail.google.com
- The extension will automatically start scanning for OA emails
- Or click the extension icon and press "Scan Inbox Now"
- Open Gmail in Chrome
- The extension automatically monitors your inbox
- When an OA email is detected:
- Email gets highlighted with a yellow background and "OA" badge
- You receive a browser notification
- Email is saved to your dashboard
- Click the JobMail AI extension icon
- Click "Scan Inbox Now" button
- View all detected OA emails in the dashboard
- View all detected OA emails with summaries
- See how long ago each email arrived
- Clear all tracked emails
- Toggle notifications on/off
โ
Real-time Email Detection - Monitors Gmail inbox automatically
โ
AI-Powered Classification - Uses Prompt API to identify OA invites
โ
Smart Summarization - Extracts key details with Summarizer API
โ
Visual Highlighting - Yellow background + OA badge in Gmail
โ
Browser Notifications - Get alerted immediately
โ
Beautiful Dashboard - Track all OA emails in one place
โ
Privacy-First - All AI processing happens locally (no external servers)
โ
Offline Capable - Works without internet once AI model is downloaded
jobmail-ai/
โโโ manifest.json # Extension configuration (Manifest V3)
โโโ content.js # Gmail integration & email scanning
โโโ background.js # Service worker for notifications
โโโ popup.html # Dashboard UI
โโโ popup.js # Dashboard logic
โโโ popup.css # Dashboard styling
โโโ styles.css # Gmail injection styles
โโโ icons/ # Extension icons (16x16, 48x48, 128x128)
- Manifest V3 - Latest Chrome Extension standard
- Chrome Prompt API - Email classification with Gemini Nano
- Chrome Summarizer API - Email summarization
- Chrome Storage API - Local data persistence
- Chrome Notifications API - Alert system
- Content Scripts - Gmail DOM integration
The extension detects emails containing terms like:
- Online Assessment, OA Invite, Coding Test
- HackerRank, CodeSignal, Codility, LeetCode
- Technical Assessment, Programming Test
- Take-home Assignment, Coding Challenge
- And more...
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Powered by Gemini Nano and Chrome's built-in AI APIs
- Thanks to the Chrome team for making AI accessible in the browser!
Created by Vikhas - Feel free to reach out!
โญ If you find this extension helpful, please star the repository!
- โ Detects OA emails using subject lines and preview snippets
- โ AI classification works with available inbox data
- โ Visual highlighting and notifications function perfectly
- โ Keyword-based fallback ensures high detection rate
- โ All processing happens locally (privacy-first)
โ ๏ธ Email Body Access: The extension currently analyzes subject + sender + Gmail preview snippet (~100-150 chars). Full email body retrieval would require opening each message or Gmail API integration, which is beyond the scope of this hackathon MVP.โ ๏ธ Summaries: AI summaries are based on preview text. For detailed information, users should click through to the email.- โ Mitigation: Strong keyword detection ensures OA emails are identified even without full content analysis.
This design prioritizes:
- Performance - Fast scanning without opening every email
- Privacy - No external API calls or data collection
- Reliability - Works immediately without complex setup
- Hackathon Timeline - Functional MVP within 4 days
For a production version, Gmail API integration would enable full email body analysis.
- ๐ง Gmail API integration for full email body access
- ๐ Deadline extraction and tracking with calendar integration
- ๐ Multilingual support with Translator API
- โ๏ธ Email reply proofreading with Proofreader API
- ๐จ Multimodal support (analyze company logos)
- ๐ Analytics dashboard with application tracking
- ๐ Direct links to assessment platforms