The shell now follows the server's event stream over a WebSocket,
falling back to polling the same log (every 30 s) while it reconnects
with backoff, and reloading everything when the server says the cursor
can't be replayed. Lists, the outbox, sidebar and rules refresh on
their own events; the open conversation only reloads when its message
count changes, so flag and tag changes don't collapse it.
Mail the server marks as notifying shows an in-page notice while the
tab is in view, and otherwise counts in the tab title and — if the
reader opted in — raises an OS notification. The rule editor gains
Don't notify and Notify anyway.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thread-grouped list, thread view with older messages collapsed, and
keyboard navigation (j/k, Enter/o, u/Esc, g/G, r, ?). Mutating shortcuts
are deliberately absent until the endpoints behind them exist.
Untrusted mail renders in an iframe sandboxed without allow-scripts or
allow-same-origin, with a CSP inside the frame doing the actual blocking
of remote loads. CSP rather than rewriting <img src> because rewriting
misses srcset, <picture>, CSS background-image and @font-face; img-src
covers every image load however it was requested. Remote images stay
blocked per message until the reader opts in.
Verified against mail carrying a tracking pixel, remote hero image, CSS
background image and inline <script>: the script neither ran nor reached
the parent, the frame was not same-origin accessible, and no request was
made even for a resolvable, actively-served image URL.
Note the quotes in img-src 'none' are load-bearing — unquoted, CSP reads
'none' as a hostname and would allow https://none/pixel.gif.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Vite + Svelte 5 + TypeScript with no other runtime dependencies, per the
client spec's speed-and-simplicity priority. Wires up the decided palette
with light/dark/system switching, a two-pane desktop shell, and a thin
API client against the sync server.
Deliberately no PWA/service worker, matching the spec's scope cut.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>