Skip to content

Show original: print headers as header lines #8

Backlog

Description

@Hitesh-Sisara

Show original prints the stored headers as a JSON array, followed by the message body. People expect what other mail apps show: one Name: value line per header.

What to build

Print the headers as header lines in the dialog.

Where

  • app/components/mail/MessageView.tsx: the source dialog prints raw_headers as stored.
  • shared/headers.ts: parseStoredHeaders and formatHeaderLines already turn the stored headers into lines. toEmlBlob in app/lib/email-html.ts uses them for the .eml download.

Done when

  • The dialog shows one line per header, in the stored order, and still shows the raw text when the stored value can't be parsed.
  • There is a test for both cases.

Run it locally with npm run dev:demo (CONTRIBUTING.md).

Activity

  1. added
    enhancement
    good first issue
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions