MailSensei 🚀⚔️ was a participant of the .
🚀 Introducing MailSensei: Your Cutting-Edge Email Management Companion 📧✂️
Tired of sifting through endless emails, only to discover they're not worth your time? Ever missed important messages due to email overload? In today's digital age, our inboxes are overflowing with both vital and distracting content. You might spend precious time on lengthy, irrelevant emails. MailSensei is here to revolutionize your email experience by addressing these challenges.
Checkout our Video Demonstration here:- https://youtu.be/9AF3yPawvDQ
Need for a solution :
https://media.giphy.com/media/OothRHNJSCaTS/giphy.gif
CEOs and business professionals often receive hundreds of emails daily, making efficient email management essential. MailSensei offers a solution to navigate this email overload, ensuring that crucial messages are never missed and time is spent more productively.
How to Run the Project :-
To access the project, visit the following URL: https://replit.com/@DevenNandapurka/Peerlist-Hackathon.
In the Replit workspace, click the Run button.
Before using MailSensei, you need to set up an App Password. We've attached an article to guide you through this process: Generate your App Password.
Once the project is up and running, enter your credentials, and click the Set Credentials button.
Click the Fetch Emails button, and all of your unread emails will be fetched and displayed in a concise summary format.
Running locally:
Requirements:
1) Python 3.7+
2) cuda (optional for GPU support)
3) Minimum 4gb of RAM is required to run the models
Clone the repository:
Optionally create a virtual environment:
python -m venv venv
Activate the virtual environment:
for Linux: source venv/bin/activate
for Windows : venv\Scripts\activate
Install requirements using pip: pip install -r requirements.txt
Run the app: streamlit run app/streamlit_app.py
Our Unique Approach :
Gmail Credentials Setup: Securely collect your "Gmail Address" and "App Password" via Streamlit to maintain the confidentiality of your email data.
IMAP Connection: Establish a connection to your Gmail account using IMAP (Internet Message Access Protocol) for seamless email access.
Email Decoding: Decode your emails to extract essential information, including "From," "Subject," and email content.
Email Summarization: Utilize Large Language Models (LLMs), specifically "distilbart-cnn-12-6," to generate concise summaries of your emails, saving you valuable time.
Tag Generation: Intelligently categorize and organize emails using "t5-base-tag-generation." Tags are displayed alongside email details.
Streamlined Presentation: Display email information in an ordered format, including "From," "Subject," and associated tags for easy reference.
Dropdown Summaries: Provide a dropdown button for each email, allowing users to access the summary with a single click, enhancing readability.
Original Email Link: Include a convenient link at the end of each summary that directs users to the original email for further context and action.
Future Enhancements:
Improved Spam Filtering: We'll enhance the accuracy of our spam detection algorithm for a cleaner inbox.
Tag Collections & Sharing: Users can create and share tag collections, streamlining collaboration and productivity.
Custom Tag Generation: Customize your own tag generation models for tailored email organization.
User Preferences: Fine-tune MailSensei with preferences like summarization length and tag rules for a personalized experience.
"Initially, we used OpenAI keys for all our app functions. However, we later changed our approach as some users may not have premium keys, and we wanted to ensure accessibility without additional costs. 😉😊”
Built with