mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 13:35:12 +09:00
Moves the mail-server stack out of core into builtin-extensions/serverkit-email/: - api/email.py + email_service/dovecot/dkim/spamassassin/roundcube → extension backend (relative intra-extension imports; core imports absolute); blueprint keeps /api/v1/email (D9). Core __init__ no longer registers email. - Stays core (deviations from the audit, documented): postfix_service (the outbound relay actively uses it) + all email models (no external importers, so no DNSProviderConfig relocation / data migration needed). - Frontend: serverkit-email manifest contributes nav/route/title/palette; core App.jsx/sidebar/palette entries removed; Email page re-exported (D2 pattern). - #34 auto-install gated on real mail usage (EmailDomain/EmailAccount rows); the core Email module toggle is retired in favor of the extension. - Tests: test_email_extraction.py proves core has no /api/v1/email, install registers+responds (exercises relative-import rewiring), uninstall clean. Full backend suite: 1200 passed. Frontend lint 0 errors + build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>