mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-09-24 00:01:14 +00:00
5f45cbe993158bc183e7ca9fedb825fcc099dd38
Implemented full support for JMAP shared folders (delegated mailboxes): Core Features: - Multi-account mailbox fetching from all available JMAP accounts - Virtual "Shared Folders" parent with account grouping in sidebar - ID namespacing to prevent collisions across accounts (e.g., "b0:a" for shared Inbox) - Account-aware email operations (fetch, view, mark as read) Technical Implementation: - Store all accounts from JMAP session (primary + shared) - Transform mailbox IDs: primary uses original, shared use "accountId:mailboxId" format - Store originalId for JMAP queries while using namespaced IDs in UI - Transform email mailboxIds to match namespaced mailbox IDs for proper counter updates - Pass accountId parameter through entire operation chain (fetch, view, mark read) UI/UX Enhancements: - Blue Users/User icons for shared folders in sidebar - Hierarchical display with account grouping - Proper unread counters that update when marking emails read - Auto-mark emails as read when opened in shared folders Bug Fixes: - Fixed email content fetching showing wrong message in shared folders - Fixed unread counters not updating for shared mailboxes - Fixed mark-as-read not working on server for shared accounts - Cleaned up debug logging
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
Languages
TypeScript
99.1%
CSS
0.7%
JavaScript
0.1%