Skip to content

Mail Clipper: Summarized email views with sentiment and severity analysis for efficient management.

Notifications You must be signed in to change notification settings

dublin74/Mail-Clipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail Clipper

This tool helps to create a focused environment, highlighting the crucial unread emails by sorting them based on severity and sentiment.

Table of Contents

Introduction

Mail Clipper is a web application developed using the EJS, Passport.js, Express.js, Node.js, and MongoDB stack. It incorporates the gpt-3.5-turbo-1106 model for summarization, sentiment analysis, and severity assessment.

Features

  • Google OAuth 2.0 authentication
  • Filter emails into categories such as Urgent, Moderate, Routine, and Ignore for easy grouping and organization.
  • Date Filter to shortlist emails based on date, displaying summarized emails by default in descending order from the most recent to the last.
  • Improve readability by adding an 'Open in Gmail' button so users can easily access the actual email for a better reading experience.

Technologies

The Classroom Project is built using the following technologies:

  • Frontend: EJS, CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • User Authentication: Passport.js

Installation

It is recommended to run this project locally to maintain control over critical Gmail data. Follow the below steps:

  1. Clone the repository: https://github.com/dublin74/Mail-Clipper.git
  2. Install dependencies: npm install or npm i
  3. Create a .env file and update the following credentials created by you
MONGO_DB = "your-mongodb-connection-string"
CLIENT_ID = "your-client-id-here"
ClIENT_SECRET = "your-client-secret-here"

OPENAI_API_KEY = "your-api-key-here"
  1. Start the server: node app.js

Important Note

While creating the client_id and client_secret on the Google Cloud console, remember to use the correct scope for accessing Gmail data https://www.googleapis.com/auth/gmail.readonly, and don't forget to put the callback URL; by default, it is https://localhost:3000/auth/google/callback.

Usage

After installation, you can access Mail Clipper in your web browser at https://localhost:3000. Login with your Gmail account, and you are good to go.

Screenshots

login page home page home page 2

Demo Video

Mail-clipper.demo.mp4

About

Mail Clipper: Summarized email views with sentiment and severity analysis for efficient management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published