SPB Git

Repository Public

FEATURE-PARITY.md 12.0 KB

# SP Mail Next — cross-platform feature parity

State of branch next (backend + web: repository sp-mail; Apple apps 2.0.0 (1): repository sp-mail-apple). This matrix is maintained with the code: a feature is added here in the same change that adds it.

Legend — ✓ implemented and covered by an executed automated test on that platform · ◐ implemented, partially tested or with a stated limitation · ○ implemented, compiled only / never exercised · — not applicable or intentionally absent (reason given) · ✗ missing. « Tests » names the suites that exercise the feature: BI backend integration (tests/integration), BU backend unit, WU web unit, WE web end-to-end (Playwright), CU / CI Apple core unit / integration, ST in-app self-test (macOS, iPhone simulator, iPad simulator). Nothing in this matrix has been verified on a physical iPhone, iPad or with a real APNs delivery; see TEST-REPORT-NEXT.md.

# 1. Core mail

Feature Backend Web macOS iOS iPadOS Tests Docs
Folders, lists, threads, read/unread, flag, archive, move, trash, junk JMAP gateway ✓ ✓ ✓ ✓ ✓ three columns BI, WE, CI, ST api-contract.md
Server-completed threads ✓ ✓ ✓ ✓ ✓ WE, CU, CI ARCHITECTURE-NEXT §1
Unified inbox with bulk actions, pin, labels /api/v1/messages ✓ ✓ ✓ ✓ ✓ BI, WE, ST API.md
Pin ($pinned), pinned first across the folder keyword ✓ ✓ ✓ ✓ ✓ WE, CU, ST D-N1
Labels (lbl_* keywords, names and colours on the server) ✓ ✓ ✓ ✓ ✓ BI, WE, CI, ST §4.4
Snooze (server-side, durable) ✓ ✓ ✓ ✓ ✓ BI, WE, CI, ST §4.3
Follow-up reminders (incl. only-if-no-reply) ✓ ✓ ✓ ✓ ✓ BI, WE, CI, ST §4.3
Incremental synchronisation Email/changes, queryChanges relayed ✓ queryChanges ✓ delta + anchor paging ✓ ✓ WU, WE, CU, CI AUDIT-NEXT §5
Offline reading — ◐ cached pages and recent threads (IndexedDB), app shell by service worker ✓ sealed cache + body prefetch + sealed attachment cache ✓ ✓ WE (offline suite), CU, CI README (Apple)
Offline actions (durable queue, server wins) — ✓ read, flag, pin, labels, move, archive, trash ✓ all keyword and move operations ✓ ✓ WU, WE, CU ARCHITECTURE-NEXT §1
Offline composition and send queue — ◐ drafts kept locally; sending requires a connection (stated in the UI) ✓ durable outbox, idempotent by Message-ID ✓ ✓ WE, CU, CI, ST —
Quiet synchronisation status — ✓ ✓ ✓ ✓ WE, CU, ST DESIGN-SYSTEM §6
Account switching without stale data, removed mailbox handled PUT /api/next/mailboxes/order ✓ ✓ ✓ ✓ WU, WE, CU, ST —

# 2. Composer and sending

Feature Backend Web macOS iOS iPadOS Tests Docs
Rich text (bold, italic, underline, strike, lists, quote, links, headings, code) sanitised on send ✓ ✓ own editor (no execCommand) ✓ TextKit ✓ ✓ WU, WE, CU, ST (typing simulated on Apple) —
Inline images (cid) ✓ ✓ ✓ ✓ ✓ BI, WE, ST API.md
Attachment tray with previews, drag and drop ✓ ✓ (OS file drop not automated) ◐ tray tested; Quick Look and drag only compiled ◐ ◐ WE, ST —
Multiple signatures, default per address and for replies /api/next/signatures ✓ ✓ ✓ ✓ ✓ BI, WE, CU, ST §4.4
Sender identity selection (authorised addresses only) sendAddress ✓ ✓ ✓ ✓ ✓ BI, WE, ST security-model.md
Recipient autocomplete, contact suggestions, groups /api/next/contacts/suggest ✓ ✓ ✓ (group expansion compiled only) ✓ ✓ BI, WE, CU, ST §4.5
Snippets (;shortcut) /api/next/snippets ✓ ✓ ◐ expansion tested; picker and manager never opened ◐ ◐ BI, WE, CU §4.4
Template insertion in the composer existing templates API ✓ ◐ « send as template » path not run ◐ sheet never opened by a test ◐ ◐ BI, WE templates-api.md
Draft autosave without churn, cross-device conflict keeps both — ✓ ✓ ✓ ✓ WU, WE, CU, CI —
Several drafts at once — ✓ (6) ✓ windows ✓ sheets ✓ WE, ST —
Send later send_at ✓ ✓ ✓ ✓ ✓ BI, WE, ST API.md
Undo send (server-side hold) undo_seconds, POST /api/next/compose/undo/:id ✓ ✓ ✓ ✓ ✓ BI, WE, CI, ST D-N3
Send and remind if no reply remind_at ✓ ✓ ○ ○ ○ BI, WE §4.7
Missing-attachment, recipient and subject checks — ✓ ✓ ✓ ✓ WU, WE, CU —
Sensitive-recipient confirmation 409 confirmation_required ✓ ✓ ✓ ✓ ✓ BI, WE, ST §4.7
Delivery status per recipient outbound tracking ✓ ✓ ✓ outbox « Suivi par le serveur » (bounce/deferred states not provoked) ✓ ✓ BI, WE, ST —

# 3. Search, organisation, contacts, attachments

Feature Backend Web macOS iOS iPadOS Tests Docs
Operator language, all mailboxes, pagination /api/next/search ✓ ✓ ✓ ✓ ✓ BU, BI, WE, CI, ST SEARCH.md
Saved searches / smart folders ✓ ✓ ✓ ✓ ✓ BI, WE, CI, ST §4.4
Filter panel (sender, date, size, attachment, label, folder) ✓ ✓ ✓ chips and suggestions ✓ ✓ WE, ST SEARCH.md
Bulk operations on results — ✓ ✓ ✓ ✓ WE, ST —
Delivery filters (Sieve), vacation responder JMAP Sieve ✓ ✓ full editor ◐ vacation pane; rules read-only with link to the web (documented difference) ◐ ◐ BI, WE, CU, ST —
Contacts: profiles, history, favourites, VIP, groups, merge /api/next/contacts ✓ ✓ ✓ ✓ ✓ BI, WE, CI, ST §4.5
vCard import / export ✓ ✓ ○ ○ ○ BI, WE §4.5
Attachment gallery with filters, preview, multi-download (ZIP) /api/next/attachments ✓ ✓ images and text inline; PDF download only (CSP kept strict) ✓ Quick Look ✓ ✓ BI, WE, CI, ST §4.6
Command Center dashboard, customisable /api/next/dashboard ✓ ✓ ✓ ✓ ✓ BI, WE, CI, ST §4.8

# 4. Notifications

Feature Backend Web macOS iOS iPadOS Tests Docs
APNs pipeline: token lifecycle, dedup queue, retry, token cleanup, badge ✓ against a fake APNs server; real APNs never contacted — ◐ registration + handling tested with simulated token ◐ ◐ BI, ST PUSH.md
Preferences: preview privacy, quiet hours, priority senders, per mailbox, per device ✓ ✓ manage devices and preferences ✓ ✓ ✓ BI, WE, ST §4.2
Actions: archive, mark read, reply; grouping by conversation; tap routing payload ✓ — ◐ self-tested in process ◐ banner action exercised in the simulator ◐ tap routing exercised ST PUSH.md
In-tab desktop notifications — ✓ (no Web Push server: tab must be open) — — — WE —
Notification service extension mutable-content ✓ — ○ ○ ○ CU (redaction logic) SYSTEM-INTEGRATION.md

# 5. Intelligence (optional, off by default)

Feature Backend Web macOS iOS iPadOS Tests Docs
Provider choice, explicit consent for an external provider, usage log ✓ ✓ ✓ ✓ ✓ BI, WE, ST INTELLIGENCE.md
Smart summary (decisions, action items, deadlines, timeline) ✓ (real Anthropic run once; local provider only against a stub) ✓ ✓ ✓ ✓ BI, WE, ST (stub) INTELLIGENCE.md
Smart reply (FR/EN, three tones), always inserted for review ✓ ✓ ✓ ✓ ✓ BI, WE, ST (stub) —
Writing assistant in the composer ✓ ✓ ✓ ✓ ✓ BI, WE, ST (stub) —
Model-free inbox insights (newsletters, needs reply, unanswered) ✓ ✓ ✓ ✓ ✓ BI, WE, ST —
AI triage categories ✓ ✓ ✓ ✓ ✓ BI, WE, ST (stub) —
Semantic / hybrid search ◐ real local embedding model run once by hand; suite uses a deterministic fake ◐ mocked routes ○ ○ ○ BU, BI INTELLIGENCE.md

# 6. Security and privacy

Feature Backend Web macOS iOS iPadOS Tests Docs
Passkeys, per-device revocable sessions ✓ ✓ ✓ ✓ ✓ BI, WE, CI security-model.md
Session and device management ✓ ✓ ✓ ✓ ✓ BI, WE, ST —
Cache cleared on any session loss — ✓ ✓ ✓ ✓ WE, CU, ST AUDIT-NEXT S1
Encrypted offline storage — — browser storage is not encrypted by the app (cleared on session loss) ✓ bodies, previews, attachments sealed; search columns clear by documented decision ✓ ✓ CU README (Apple)
App lock (Touch ID / Face ID), every window gated, app-switcher privacy — — ◐ self-tested in process, never with real biometrics ◐ ◐ ST —
Hostile HTML isolation, remote content blocked, trusted senders need aligned DKIM/DMARC proxy ✓ ✓ ✓ ✓ ✓ BI, WU, WE, CU, ST security-model.md
API key scopes and rate limits, audited admin actions with re-authentication ✓ ✓ — — — BI, WE API.md

# 7. Administration and automation

Feature Backend Web macOS iOS iPadOS Tests Docs
Health dashboard, alerts, delivery and queue diagnostics, trends, devices, security events ✓ ✓ — web only (administration is a web console by design) — — BU, BI, WE OPERATIONS-NEXT.md
Automation rules (post-delivery; never sends) ✓ ✓ builder, dry run, history ◐ list, enable/disable, history; editing on the web ◐ ◐ BU, BI, WE D-N9, §4.10
Templates studio ✓ ✓ ✓ ✓ ✓ BI, WE, ST templates-api.md

# 8. Platform integrations (differ by design)

Feature Web macOS iOS iPadOS Tests
Command palette ✓ ✓ — (search + menus) ✓ ⌘K WE, ST
Keyboard shortcuts ✓ ✓ menus, no clash (scripted check) — ✓ WE, script
Resizable / collapsible panes ✓ ✓ native split view + inspector — ✓ columns WE
Multiple windows browser tabs ✓ message and composer windows, restoration (in-process test) — ◐ per-scene state tested in process ST
Themes light / dark / midnight, density, text size ✓ ✓ ✓ Dynamic Type ✓ WE (axe in three themes), ST
Menu bar extra, Dock menu, Services, Handoff — ○ — ○ Handoff —
Widgets — ○ built and signed ◐ shown in the widget gallery (simulator) ◐ CU (snapshot)
Share extension — ○ ◐ queue path exercised in the simulator ◐ ST
Spotlight, App Intents / Shortcuts, mailto: — ◐ ◐ ◐ ST
Installable web app, service worker ✓ (Chromium only; iOS Safari not tested) — — — WE
Swipe actions, haptics ✓ phone layout (emulated touch) — ◐ haptics cannot be verified in a simulator ◐ WE, ST

# Known gaps

  1. Real APNs delivery, and everything that needs a physical device (biometric lock, lock-screen widgets, Handoff, background refresh timing, haptics, VoiceOver passes).
  2. iOS App Group not registered: on iOS Release builds extensions share state through the shared keychain group only; a share with files is sent directly instead of being queued for the app (SYSTEM-INTEGRATION.md).
  3. Semantic search is not exercised end to end in any client.
  4. PDF preview in the web gallery is download-only.
  5. Browsers other than Chromium have not been run.
  6. « Send and remind » and vCard import/export are compiled but untested in the Apple apps.
Files main
Menu

Theme