MailMate banner

MailMate

3 devlogs
6h 20m 25s

MailMate is an intelligent, multi-user email assistant that uses high-speed AI inference to automate inbox prioritization, sentiment analysis, and spam filtering. It transforms a cluttered inbox into an actionable workspace by categorizing emails …

MailMate is an intelligent, multi-user email assistant that uses high-speed AI inference to automate inbox prioritization, sentiment analysis, and spam filtering. It transforms a cluttered inbox into an actionable workspace by categorizing emails and generating to-do lists in real-time.

Demo Repository

Loading README...

Devansh Malhotra

While this redesign took a little longer than I originally expected, the result was worth the hard work. I have completely replaced the original AI-generated interface with a custom, hand-crafted design that, hopefully, improves on the aesthetics and overall user experience.

Since the entire frontend codebase is now my original work, I am removing the AI declaration. I chose to keep most of the HTML code as it was already coded by me, and the emojis help in easier navigation, but the styling and design language are now 100% original.

🎉 MailMate is now 100% human-coded and designed by me. 🎉

NEXT STEPS:

  • Custom Labels: Let users create their own categories (e.g. “Education”).
  • Kill the 10-email limit: Let the AI ingest the whole inbox at once.
  • Fix the To-Do bug: “No reminders found” error even when reminders exist.
  • Clickable Charts: Make the pie charts interactive so clicking a slice filters the inbox.
  • Daily Digest: Have MailMate auto-send a daily to-do list to the user’s email every night.
  • Search by Date: Add a proper way to filter/search for emails from specific days.
  • Mobile Cleanup: Fix those weird layout issues on phones.
  • AI Noise Control: Make the classification smarter so it stops creating reminders for every trivial thing.
  • Keyboard Shortcuts: Rapid-fire shortcuts (e.g., ‘E’ to archive, ‘T’ for to-do) for power users.
  • AI Chat Search: A bar where you can just ask “When’s my flight?” and the AI finds the answer.
  • Dark & Light Modes
Attachment
Attachment
Attachment
0
Devansh Malhotra

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.

Attachment
0