A Gmail email classifier bot powered by Google APIs and Gemini AI. Automatically classifies emails, extracts text from attachments, and detects urgent messages.
- AI-powered email classification
- Gmail label management
- Attachment text extraction (PDF, DOCX, images, TXT)
- Urgent email detection
- Chat notification integration (Telegram, Slack, Discord)
- Designed for 24/7 cloud operation (GCP, headless)
- Clone the repo
- Add your
credentials.json(Google OAuth) - Install dependencies:
pip install -r requirements.txt - Run:
python email_classifier.py
- Remove sensitive files before pushing to GitHub
- Use
.gitignoreto exclude credentials and logs
MIT