A minimal email TUI where you read with Markdown and write in Neovim. neomd.ssp.sh/docs
email markdown neovim tui
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

show attachment in thread mode

sspaeti a6078cbc 8c870adb

+7 -3
+7 -3
internal/imap/client.go
··· 627 627 fetchSet.AddNum(imap.UID(uid)) 628 628 } 629 629 msgs, err := conn.Fetch(fetchSet, &imap.FetchOptions{ 630 - UID: true, 631 - Flags: true, 632 - Envelope: true, 630 + UID: true, 631 + Flags: true, 632 + Envelope: true, 633 + RFC822Size: true, 634 + BodyStructure: &imap.FetchItemBodyStructure{Extended: true}, 633 635 }).Collect() 634 636 if err != nil { 635 637 return fmt.Errorf("FETCH headers: %w", err) ··· 670 672 e.CC = strings.Join(cc, ", ") 671 673 } 672 674 } 675 + e.Size = uint32(m.RFC822Size) 676 + e.HasAttachment = hasAttachment(m.BodyStructure) 673 677 emails = append(emails, e) 674 678 } 675 679 return nil