GithubHelp home page GithubHelp logo

louremipsum / checkemails Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 307 KB

Fetch your emails from Gmail and classify their category using AI

Home Page: https://checkemails.vercel.app

JavaScript 0.61% CSS 1.01% TypeScript 98.38%

checkemails's Introduction

Check.Email

checkemails vercel app_

Check.Email is an application that classifies emails using AI. It leverages the power of Supabase for authentication services and Google's Gmail API for email interactions. It uses Langchain/openai for Classification.

Prerequisites

Before you begin, ensure you have the following:

  • A Supabase account
  • A Google Cloud account

Getting Supabase URL and Anon Key

  1. Sign in to your Supabase account.
  2. Create a new project.
  3. From the project dashboard, you can find the URL and anon key. The URL is your Supabase project URL and the anon key is found under Settings > API.

Getting Google API Key and Client Key

  1. Go to the Google Cloud Console.
  2. Create a new project.
  3. Enable the Gmail API for your project.
  4. Create credentials for the Gmail API. Choose OAuth client ID as the credential type.
  5. Set up the OAuth consent screen. Under Application type, choose Web application.
  6. Add your application's URIs under Authorized JavaScript origins and Authorized redirect URIs.
  7. Setup restricted scope of gmail readonly in consent screen configuration.
  8. After you've set up the consent screen, you'll be provided with your Client ID and Client Secret.

Setting Up Environment Variables

  • Copy the setup.env file to a new file named .env:
cp setup.env .env
  • Open the .env file and fill in the environment variables with the keys obtained from Supabase and Google Cloud Console.

Installing Dependencies and Running the App

  1. Install all the dependencies:
npm install
  • Run the application:
npm run dev

Now, you should be able to see the application running on your local server.

checkemails's People

Contributors

louremipsum avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

deepak7mehra

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.