mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
feat(mail): add mana-mail service and frontend module (Phase 1 MVP)
Backend: Hono/Bun service on port 3042 with JMAP client for Stalwart, account provisioning (@mana.how addresses on user registration), thread/message/send/label API endpoints, and JWT + service-key auth. Frontend: Mail module with 3-column inbox UI (mailboxes, thread list, detail/compose), local-first encrypted drafts in Dexie, and API-driven thread fetching. Scoped CSS with theme tokens. Integration: Dexie v11 schema, mail pgSchema in mana_platform, mana-auth fire-and-forget hook for account provisioning, getManaMailUrl() in API config, app registry + branding update. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
40e1145e9f
commit
a3de6b3d81
41 changed files with 2908 additions and 1 deletions
|
|
@ -20,8 +20,9 @@ psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname mana_platform <<-EO
|
|||
CREATE SCHEMA IF NOT EXISTS presi;
|
||||
CREATE SCHEMA IF NOT EXISTS uload;
|
||||
CREATE SCHEMA IF NOT EXISTS cards;
|
||||
CREATE SCHEMA IF NOT EXISTS mail;
|
||||
|
||||
-- Grant schema usage
|
||||
GRANT ALL ON SCHEMA auth, credits, gifts, subscriptions, feedback, usr, media,
|
||||
todo, traces, presi, uload, cards TO mana;
|
||||
todo, traces, presi, uload, cards, mail TO mana;
|
||||
EOSQL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue