ref: f77d7c2c3d578ae5a724e1e8b91656304dde75d0 aerc/worker/imap d---------
Handle external message deletions
Handle incoming emails gracefully
worker/imap: use the IMAP connection from a single goroutine

Unfortunately, the IMAP protocol hasn't been designed to be used from multiple
goroutines at the same time. For instance, if you fetch twice the same message
from two different goroutines, it's not possible to tell whether the response
is for one receiver or the other. For this reason, go-imap clients aren't safe
to use from multiple goroutines.

This commit changes the IMAP workers to be synchronous again (a command is
executed only after the previous one has completed). To use IMAP from different
threads, popular clients (e.g. Thunderbird) typically open multiple
Make message viewer real, part two
Rename FetchMessageBodies to FetchFullMessages
Make the message viewer real, part one
Don't parse mail in worker; send a reader instead
Pull BodyStructure up from IMAP worker
Add body fetching support code
Implement :delete-message
Display message subjects in message list
Implement message store side of message fetching
Fetch valid UIDs from server after opening dir
Add name to DirectoryInfo messages
Issue IMAP SELECT command
Tidy up list.go
Refactoring; consume listing response
Implement (most of) mailbox listing
Reduce boilerplate in worker/UI
Add certificate approval flow
Improve logging