NousResearch/hermes-agent

Inbound email: malformed/unknown encoding crash fixes

Cluster 35901 · gateway. Data as of

2 open items. Fix attempted, not merged.

The short answer

0open issues
2open PRs
6items grouped
Known?
Yes. 6 related items grouped here, 3 issues already closed.
Fix event
No fix has been merged to main. 1 PR closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
0 issues and 2 PRs.

These issues and PRs address crashes during IMAP fetch caused by malformed RFC 2047 encoded headers and unknown or non-standard charsets (such as QQ Mail's 'unknown-8bit'), which abort message ingestion. The work focuses on making header decoding and body text extraction resilient to these bad inputs rather than raising unhandled errors.

Open issues0

No open issues.

Open PRs2

  • PR#35910fix(email): handle unknown-8bit charset from QQ Mail in IMAP fetch
  • PR#55384Tolerate an unknown email body charset in _extract_text_body

1 PR closed without merging

From the close comments: duplicate 1

  • #58070 fix(email): tolerate malformed encoded headers · duplicate → #55382
Closed issues · 3
  • Closed#35901[Email Gateway] IMAP fetch error: unknown encoding: unknown-8bit with QQ Mail
  • Closed#55381Inbound email: a malformed RFC 2047 header crashes _decode_header_value and aborts the IMAP fetch, dropping the message
  • Closed#55383Inbound email: an unknown Content-Type charset crashes _extract_text_body (LookupError) and aborts the IMAP fetch
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.25: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
gateway
Closed issues
3
Attempts
1 PR closed without merging

For your agent

The same facts, typed.