A Django-based email management system for analyzing, categorizing, and cleaning up email inboxes.
InboxSweep helps users:
- Connect their email accounts (Gmail via OAuth, IMAP/SMTP)
- Analyze email content to identify spam/bulk messages
- Safely delete unwanted emails with user confirmation
- Gain insights through email analytics and user profiling
- Email Authentication & Connection: OAuth 2.0 integration with Google, IMAP/SMTP support
- Email Synchronization: Full email sync with metadata preservation
- Spam Detection: Rule-based and statistical spam/bulk email detection
- Email Management: Bulk selection interface with safe deletion workflows
- Analytics Dashboard: Email statistics and user profiling
- Encrypted Storage: Secure credential storage with django-cryptography
- Backend: Django 5+/Python 3.14, PostgreSQL 14
- Task Processing: Celery 5.3 with RabbitMQ 3.12
- Caching: Redis 7.2
- Frontend: Django Templates + Bootstrap 5 + HTMX
- Security: django-cryptography, django-allauth
- Dependency Management: Poetry with bleeding-edge dependencies
The project is structured into 8 sequential phases, each with clear deliverables:
- Foundation & Core Authentication (4-5 days)
- OAuth Integration & IMAP Client (5-6 days)
- Email Synchronization Engine (6-7 days)
- Spam Detection Engine (5-6 days)
- Email Review & Deletion Interface (4-5 days)
- Analytics & User Profiling (5-6 days)
- Advanced Features & Optimization (6-7 days)
- Production Deployment & Scaling (4-5 days)
- Technical Specification - Detailed technical specification
- Technical Documentation - Core technical documentation
- Architecture Plan - System architecture and design
- Implementation Guide - Development approach and next steps
- Project Requirements - Dependencies and system requirements
- Docker Setup - Docker configuration guide
- Initial Setup Guide - Project initialization steps
- Poetry Migration Guide - Poetry migration instructions
- Project Summary - Comprehensive project overview
- Review the Initial Setup Guide for project initialization steps
- Set up the development environment using the Docker Setup Guide
- Follow the Implementation Guide to begin development
inboxsweep/
├── config/ # Django settings and configuration
├── accounts/ # User authentication and email accounts
├── oauth/ # OAuth integration and IMAP client
├── sync/ # Email synchronization engine
├── spam/ # Spam detection engine
├── review/ # Email review and deletion interface
├── analytics/ # Analytics and user profiling
├── api/ # REST API endpoints
├── core/ # Shared utilities and common components
├── templates/ # Global templates
├── static/ # Static assets
├── tests/ # Global test configurations
├── docs/ # Project documentation
├── .codeassistant/ # MCP configuration
├── .venv/ # Python virtual environment
├── manage.py # Django management script
├── pyproject.toml # Poetry dependencies
├── poetry.lock # Locked Poetry dependencies
├── docker-compose.yml # Docker Compose configuration
├── Dockerfile # Docker image definition
├── .env.example # Environment variables template
└── .gitignore # Git ignore rules
This project follows a phased development approach optimized for AI agent development:
- Each phase has isolated models/features
- Minimal inter-phase dependencies
- Clear acceptance criteria per phase
- All phases independently testable
- Email sync completion > 99%
- Spam detection accuracy > 85%
- Deletion success rate > 99.9%
- Dashboard load time < 3s
- API response time < 500ms
- System uptime > 99.5%
- Follow the setup instructions in the Initial Setup Guide
- Review the Architecture Plan before making changes
- Ensure all tests pass before submitting pull requests
- Follow the coding standards outlined in the documentation
This project is proprietary and confidential. All rights reserved.
For questions about this project, please refer to the documentation or contact the development team.