You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugSomething isn't workinghelp wantedExtra attention is neededmailMail parsing, delivery workers and mailbox operations.needs testingNeeds focused regression or contract verification.priority highCorrectness, delivery reliability or security boundary work to address first.
decodeMIMEBody recursively decodes a multipart child but retains the result only if the child's own Content-Type starts with text/. A multipart/mixed envelope containing multipart/alternative plus an attachment therefore loses its valid body.
Evidence / regression scenario
An isolated Go test using a mixed message with a nested alternative part and an attachment returned body="" with err=nil instead of its plain-text body.
Return the preferred display body from nested multipart/alternative and multipart/related structures inside mixed messages.
Prefer a non-attachment plain-text body and use safe existing fallback semantics when only HTML is available; do not select a text attachment as the message body.
Add raw MIME fixtures covering nested mixed/alternative, related, plain-only, empty parts and malformed nested parts.
Keep transfer-encoding decoding and original RFC message storage unchanged.
Scope and dependencies
Difficulty: medium.
Fix body selection, not attachment upload/download or a new HTML mail renderer.
Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.
bugSomething isn't workinghelp wantedExtra attention is neededmailMail parsing, delivery workers and mailbox operations.needs testingNeeds focused regression or contract verification.priority highCorrectness, delivery reliability or security boundary work to address first.
Activity