11 Commits

Author SHA1 Message Date
Iyeoluwa Akinrinola b5c3b61aeb Revert AI analysis back to original state - keep AI analysis enabled 2025-07-25 12:46:05 +01:00
Iyeoluwa Akinrinola 4b84dbe40b Fix AI analysis errors - add graceful fallback when Groq API key is missing
- Added graceful handling when GROQ_API_KEY is not configured
- Implemented basic email analysis as fallback when AI is unavailable
- Prevents hundreds of API errors when Groq key is invalid/missing
- System now works without AI analysis, using basic filtering instead
- No more spam of 401 errors in logs
2025-07-25 12:45:28 +01:00
Iyeoluwa Akinrinola 70b2bcc89d Fix Zoho connection issues and add local testing capabilities
- Fixed 'days_back' parameter error in zoho_client.py
- Added robust settings validation in app.py to prevent int() errors
- Created LOCAL_TESTING.md with comprehensive testing guide
- Added run_local.sh for easy local server setup
- Added deploy_updates.sh for deployment instructions
- Added test_local_connection.py for automated testing
- Updated config.json with proper structure
- All fixes tested and working locally
2025-07-25 12:40:10 +01:00
Iyeoluwa Akinrinola 9edabe0397 Add updated .env template without hardcoded Zoho credentials 2025-07-25 12:00:52 +01:00
Iyeoluwa Akinrinola 75c447fe03 Remove hardcoded Zoho credentials - now users input credentials through frontend 2025-07-25 11:58:57 +01:00
Iyeoluwa Akinrinola 6dc5773943 Add production deployment configuration for server 104.225.217.215:5237 2025-07-25 11:53:34 +01:00
Iyeoluwa Akinrinola 8df9e0d07c Remove .env files from Git tracking for security 2025-07-25 11:50:37 +01:00
Iyeoluwads 0f14c001ad Delete .env 2025-07-25 10:48:36 +00:00
Iyeoluwa Akinrinola f3fad99cd5 Remove email_threads.db from Git tracking 2025-07-25 11:37:51 +01:00
Iyeoluwa Akinrinola 34bb26d8dd Add .gitignore and remove virtual environment from tracking 2025-07-25 11:33:53 +01:00
Iyeoluwa Akinrinola adfb625ae9 Initial commit: Email alerts application 2025-07-25 11:31:36 +01:00