Inspiration
In the digital age, we’re constantly bombarded with information — emails, chat threads, and online messages. Reading and processing them all takes valuable time and mental effort. I often found myself spending hours scanning through long Gmail threads or Slack messages, trying to find the main idea or next action item. That’s what inspired SnapSummary — a smart Chrome extension that uses AI to summarize emails and messages instantly, so users can focus on what truly matters.
What it does
SnapSummary automatically detects text from emails or chat messages in your browser and summarizes them into short, easy-to-read highlights. It can: Extract key points and action items. Summarize text in a chosen tone (formal, casual, concise). Display the summary right next to the original content. In short, SnapSummary turns long, cluttered messages into clear and quick insights — helping users save time and stay organized.
How we built it
We built SnapSummary as a Chrome extension using: Frontend: HTML, CSS, JavaScript (Manifest V3). Backend AI Layer: Google’s Gemini API for text summarization and understanding. Workflow: Content scripts extract text from Gmail or LinkedIn message threads. The text is securely sent to Gemini API. AI generates a short summary, which is rendered inside the extension popup. Users can adjust summary length, tone, and output format.
Challenges we ran into
1.Handling different web layouts: Extracting email content dynamically across different sites like Gmail and Slack required DOM customization. 2.API usage & rate limits: Managing the Gemini API token and optimizing request frequency. 3.Privacy concerns: Ensuring no user data is stored — all processing happens locally or through secure API calls. 4.Summary consistency: Balancing between short summaries and completeness was a challenge that required prompt tuning and multiple iterations.
Accomplishments that we're proud of
Successfully integrated Google’s Gemini AI into a Chrome extension. Built a user-friendly summarization tool that works in real time. Designed a minimal, clean UI that blends seamlessly with Gmail. Created customizable summaries (tone, length, and format). Received positive feedback from testers who said it “felt like ChatGPT inside Gmail.”
What we learned
Deep understanding of prompt engineering for high-quality summarization. How to securely use AI APIs in browser extensions. Improved skills in JavaScript async handling, API integration, and UX design. Learned how to optimize API calls for speed and efficiency. Understood the importance of privacy and ethical AI integration.
What's next for SnapSummary
Add voice summary support using text-to-speech APIs. Integrate with more platforms — WhatsApp Web, Discord, Outlook, and Google Meet transcripts. Implement multi-language summarization. Offer personalized summaries based on user preferences. Publish SnapSummary to the Chrome Web Store for public use.
Built With
- api
- chrome
- cloud
- css
- domparser
- extension
- fetch
- gemini
- html5
- javascript
Log in or sign up for Devpost to join the conversation.