Skip to content

+reply quotes original message in plain text instead of HTML blockquote — Gmail doesn't collapse quoted thread #567

@Sam-Bonin

Description

@Sam-Bonin

Description

When using gws gmail +reply, the quoted original message in the reply body is formatted using plain text > prefix characters. Gmail's UI expects HTML <blockquote> elements to trigger the collapsed "..." (triple dot) behavior for quoted thread history.

As a result, replies sent via gws gmail +reply show the full quoted chain inline in Gmail, instead of collapsing it behind the expand button like native Gmail replies do.

Steps to reproduce

  1. Send a reply using gws gmail +reply --message-id <id> --body "My reply"
  2. Open the sent message in Gmail web UI
  3. Observe the quoted original message is fully expanded inline, not collapsed behind ...

Expected behavior

The quoted original message should be wrapped in an HTML <blockquote> element (matching Gmail's native reply format), so Gmail's UI collapses it behind the triple-dot expand button.

Actual behavior

The quoted message uses plain text > line prefixes, which Gmail renders as static text without collapsing.

Environment

  • gws version: 0.11.1
  • OS: macOS (Darwin 25.3.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions