1. Multi-class Classification:
- Classify emails into categories like Important, Promotions, Social, Marketing, and Spam based on LLM insights and keywords.
2. General Fallback:
- If the LLM analysis is inconclusive, categorize the email as "General."
- Node or Docker
- Google OAuth account setup with scope more detail
- openid - email - profile - https://www.googleapis.com/auth/gmail.readonly - https://www.googleapis.com/auth/gmail.addons.current.message.readonly
- OpenAi API key
copy .env.sample to .env and get all environmental variable
For Linux user run docker compose up
For Windows/Mac docker-compose up
Change postgres connection string also
npm install
npm run db:generate && npm run db:migrate
npm run dev