From 06e1b45a7851b58ea0d238f1fbfa2e8cee7bba8f Mon Sep 17 00:00:00 2001 From: Yash Srivastav Date: Sat, 8 Jun 2019 10:52:41 +0530 Subject: Fetch headers w/peek to leave emails unread --- worker/imap/fetch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/worker/imap/fetch.go b/worker/imap/fetch.go index 49c9ac53..2d5bb7f2 100644 --- a/worker/imap/fetch.go +++ b/worker/imap/fetch.go @@ -19,6 +19,7 @@ func (imapw *IMAPWorker) handleFetchMessageHeaders( BodyPartName: imap.BodyPartName{ Specifier: imap.HeaderSpecifier, }, + Peek: true, } items := []imap.FetchItem{ -- cgit