Title: Unused/dead FastAPI implementation in backend/main.py and schema dependencies
Description: The repository has a FastAPI server (main.py) which exposes /api/emails endpoints for MySQL storage. However, the application uses Flask (api.py) in production, docker-compose, and the local developer orchestrator. The FastAPI system and its dependencies (database.py, emails.py, export.py) are dead code.
Steps to Reproduce:
Inspect the running services in docker-compose.yml or run-dev.ps1; they exclusively launch api.py.
Proposed Fix: Either clean up the repository by removing main.py, database.py, emails.py, and export.py, or fully integrate the email database system into the active Flask service.
Title: Unused/dead FastAPI implementation in backend/main.py and schema dependencies
Description: The repository has a FastAPI server (main.py) which exposes /api/emails endpoints for MySQL storage. However, the application uses Flask (api.py) in production, docker-compose, and the local developer orchestrator. The FastAPI system and its dependencies (database.py, emails.py, export.py) are dead code.
Steps to Reproduce:
Inspect the running services in docker-compose.yml or run-dev.ps1; they exclusively launch api.py.
Proposed Fix: Either clean up the repository by removing main.py, database.py, emails.py, and export.py, or fully integrate the email database system into the active Flask service.