Is your feature request related to a problem?
Sorting/threading is done client-side, which is slow on large mailboxes.
Describe the solution you'd like
Use the IMAP SORT and THREAD extensions when the server advertises them.
Describe alternatives you've considered
Client-side sort/thread.
Additional context
See fetcher/search.go and backend/imap.
Is your feature request related to a problem?
Sorting/threading is done client-side, which is slow on large mailboxes.
Describe the solution you'd like
Use the IMAP SORT and THREAD extensions when the server advertises them.
Describe alternatives you've considered
Client-side sort/thread.
Additional context
See
fetcher/search.goandbackend/imap.