Coder Social home page Coder Social logo

manlikenacho / clientsidemailhost Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 106 KB

Implements Google Oauth2.0 for seamless authentication

Home Page: https://client-side-mail-host.vercel.app

JavaScript 95.68% CSS 4.32%
google-oauth-api google-oauth-login nextjs nodejs

clientsidemailhost's Introduction

ClientSideMailHost

Overview

ClientSideMailHost is a web application that allows users to fetch, view, and classify emails from their Gmail accounts using Google OAuth2.0 and OpenAI's API. This project is designed to enhance email management by automatically categorizing emails into different classes such as important, social, and promotional.

Features

  • Google OAuth Authentication: Securely log in with your Google account to access Gmail data.
  • Fetch Emails: Retrieve emails from your Gmail account.
  • Email Classification: Utilize OpenAI's API to classify emails into different categories.
  • Responsive UI: User-friendly interface optimized for both desktop and mobile devices.
  • Dashboard: View and manage your classified emails in a clean and organized dashboard.

Hosting

The application is hosted on Vercel. You can access it here.

Screenshots

Login Page

Login PageScreenshot (325)

Installation

Prerequisites

  • Node.js and npm installed.
  • Google Cloud project with Gmail API enabled.
  • OpenAI API key.

Steps

  1. Clone the repository:

    git clone https://github.com/manlikeNacho/ClientSideMailHost.git
    cd ClientSideMailHost
    
    
  2. Install dependencies: npm install

  3. Environment Variables: Create a .env file in the root directory and add the following

    GOOGLE_CLIENT_ID=your-google-client-id
    GOOGLE_CLIENT_SECRET=your-google-client-secret
    NEXTAUTH_URL=http://localhost:3000
    NEXTAUTH_SECRET=your-nextauth-secret
    
  4. Run the development server: npm run dev

  5. Open your browser: Navigate to http://localhost:3000 to view the application.

Contributing

We welcome contributions to enhance ClientSideMailHost. Please fork the repository and submit pull requests for any features or bug fixes.

clientsidemailhost's People

Contributors

manlikenacho avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.