Skip to main content

Email Assistant

Professional email management system with AI-powered categorization, daily digests, and comprehensive observability.

What It Doesโ€‹

The AI Email Executive Assistant helps manage your inbox by:

  • Categorizing emails intelligently using Gemini AI
  • Generating daily digests with consolidated summaries
  • Tracking metrics for email processing and API usage
  • Providing observability through a beautiful web dashboard

Key Featuresโ€‹

Core Capabilitiesโ€‹

  • โœ… Gmail Integration with OAuth 2.0
  • โœ… AI Categorization using Gemini 2.5 Flash Lite
  • โœ… Daily Digest with newsletter highlights
  • โœ… Beautiful responsive web interface
  • โœ… LRU caching (30 emails, 24h expiry)
  • โœ… Comprehensive metrics tracking with SQLite
  • โœ… Graceful error handling with detailed logging
  • โœ… JSON-based configuration

Email Categoriesโ€‹

CategoryDescription
Need-ActionEmails requiring your response
FYIInformational, no action needed
NewsletterSubscriptions and updates
PromotionalMarketing and offers
SocialSocial network notifications

Architecture Previewโ€‹

Screenshotsโ€‹

Digest ViewMetrics Dashboard
Daily email summary with categoriesAPI usage and performance tracking

Tracked Metricsโ€‹

The system tracks 12+ comprehensive metrics:

  1. Total Emails Processed
  2. Cache Hit Rate
  3. API Calls Made
  4. Average Execution Time
  5. Emails by Category
  6. Success Rate
  7. Script Run Count
  8. Error Count
  9. Average API Response Time
  10. Estimated API Cost
  11. Cache Utilization
  12. Recent Errors

Version Infoโ€‹

PropertyValue
Version2.1
Python3.14+
StatusProduction Ready โœ…
Tests55+ tests