mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
- Create Flask app with CORS and health check endpoint - Implement account management: create, list, get, delete - Implement sync control: trigger IMAP sync, check status, cancel - Implement compose: send emails, manage drafts - Add IMAPClient wrapper with incremental sync and UID tracking - Add SMTP sender with attachment support (images, audio, docs) - Add Dockerfile with multi-stage build for production - Add .env.example and comprehensive README with API documentation Includes: - Multi-tenant safety with tenantId/userId filtering - Encrypted credential handling via DBAL - Celery-ready async task structure - Full email parsing: headers, recipients, body (text/HTML) - Folder type inference from IMAP flags - Attachment parsing and handling - Base64 encode/decode for attachment data Task 7.1: Email Service Backend Implementation