Implement the emailrouter multi-tenant email routing system (web UI + API, background worker, PostgreSQL, Docker Compose) following the repo specs and engineering best practices. Use when asked to start coding, refactor, add tests, add migrations, or implement operational tooling for emailrouter.
specs/SPEC.mddocs/SECURITY_PRIVACY.mddocs/DATA_MODEL.mddocs/LLM_ROUTING.mddocs/EMAIL_HANDLING.mdreferences/ENGINEERING_STANDARDS.mdreferences/CHECKLISTS.md