This project actually started as my Internship Capstone Project. You can check out the original “v1” demo here -> https://www.bettermindlabs.org/devansh-malhotra
(and yeah, please ignore how I look in that video. They did me dirty with everything, I promise I look better IRL!).
The original build was a great proof of concept, but the Gemini API kept hitting 429 rate-limit errors and breaking my email classification. Over the last ~3 hours, I’ve been grinding to turn this into a legit, production-ready app. Here’s what I have been cooking:
AI Migration: Ditched Gemini for Groq’s LLaMA 3.3 70B.
Prompt Batching: Smartened up the processing logic to group multiple emails into single API calls. Requests dropped by ~80%, and processing speed skyrocketed.
Multi-User OAuth: Rebuilt the entire auth flow. Instead of a single-user desktop script, MailMate is now a proper web app with multi-user support via web-based Gmail OAuth (with automatic token refreshing).
Classification Fixes: Worked on the classification logic to handle empty bodies and weird formatting that used to break the sentiment/spam detection.
What I’ll be working on now:
Design Refresh: The UI looks really bad, even though it was AI-generated. I will spend time stripping out the messy gradients and chaotic animations for a “humane” design system.