Versions in this module Expand all Collapse all v1 v1.1.0 Jul 21, 2026 Changes in this version + const DefaultMaxBytes + const MaxHTMLBytes + func ParsedBody(raw []byte, maxBytes int) (text string, truncated bool) + type Attachment struct + ContentID string + ContentType string + Data []byte + Filename string + func AttachmentAt(raw []byte, index int) (Attachment, bool) + func Attachments(raw []byte) []Attachment + type ParsedView struct + HTML string + Text string + Truncated bool + func Parse(raw []byte, maxBytes int) ParsedView