A .mbox file opens as its messages and a .proto file as its outline
Both open as tables instead of raw text. Source is one tap away (?view=source).
.mbox: one row per message with From, Subject and Date (RFC 2047 words decoded), the first 200 shown and the rest counted. Bodies are never read or drawn. A file not starting withFromopens as text with one line saying why. Files over 5 MB open as text..proto: each message (nested ones asOuter.Inner), enum and service, with fields (label, type, number;oneofandmap<>included), enum values and rpcs (withstream). Options, reserved ranges and anything unreadable are skipped. 500 blocks and 500 rows per block, thenmore not shown. Files over 1 MB open as text.- Every value is escaped, drawn on the server; no script, no dependency. The terminal shows the same rows.
Code: src/web/render/mbox.ts, src/web/render/proto.ts, src/web/render/kinds.ts. Test: test/render-mbox-proto.test.ts.