The main motive of the application is to fetch the GMAILS form the Google account using OAUTH authentication and then send the data to the Gemini AI api
Install all the NPM packages
npm install
NEXTAUTH_URL=
NEXTAUTH_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GEMINIAI_KEY=
DATABASE_URL=
replace all this fields with your credentials
npm run dev