Web App Gmail Integration Fix - Urgent

Job ID: 40278062

Budget: $30 – $250 USD

Summary
I have a custom app built using the tech specs below. The apps function is to:

Read emails, extract attachments of the users choice, merge the attachment's data in a prepared JSON format for use on an external chrome extension.

The Gmail function has some bugs and I need an expert to fix the filtering function and then take a look at the remaining code to approve it is ready to launch.

Tech Specs:
Frontend: Next.js 15.3.5, React 18, TypeScript, Tailwind CSS
Backend: Next.js API routes, Prisma ORM
Database: PostgreSQL (Supabase)
Auth: NextAuth.js
Key Features: Gmail integration, PDF processing, document extraction, AI analysis (OpenAI)
Architecture: Full-stack monolith with API routes, file uploads, email sync, PDF text extraction, and application tracking system.