That is a good point. I forgot to mention that.
One of the things I have changed in my workflow is that I now use far
fewer mailboxes with gmail. Instead of mailboxes, I just rely on Mu's
fine searching capabilities.
Previously, I had a lot of different folders in Gmail and even ha quite
a few gmail filters which would automatically sort messages into
different folders. However, I now just have a couple of folders. My
basic workflow is
1. I just sync
- 'All Mail'
- INBOX
- sent
- bin/trash
- draft
- Refile
The 'Refile' folder is one where I put messages I've read, no longer
need in my INBOX, but I want to keep. Every few weeks I go through this
folder in Gmail and move messages to different folders in gmail. None of
these additional folders are synced locally. I found this gove me the
fastest syncing and minimal number of duplicates locally. I could get by
without the 'All Mail', but then again, if I want to search through my
messages with mu/mu4e, the All Mail mailbox is very useful.
Due to the way Gmail uses tags rather than real folders to store mail,
when I 'move' mail using the gmail interface (when processing my
'refile' folder), all that gmail is really doing is tagging messages. I
do this only because sometimes I do use different clients (such as on my
phone) where I don't have the power of mu4e/mu searches, so having
things tagged into different folders can make life a little easier.
Setting which 'folders' are visible via imap was really uiseful as it
made setting up the mbsyncrc file really easy. I just needed something
like
Channel gmail
Far :gmail-remote:
Near :gmail-local:
Patterns * !"[Gmail]/Important" !"[Gmail]/Starred"
Create Both
Expunge Both
SyncState *
If you don't set which folders are visible (via the gmail/google
settings), then you will get a 'mailbox' for every 'tag' in gmail and
the messages in each of those mailboxes will be duplicates of messages
in 'All Mail', so you willl be donwloading them twice! (or even more if
you have any with multiple tags)
I actually don't like Gmail and would move to something like Proton
Mail, but I've been using Gmail for so long and have so much associated
with that address, it is now just too painful to consider changing. I
could setup complicated forwarding and relaying, but that becomes a PITA
and getting it to work correctly wrt the many broken anti-spam systems
out there is simply a boring task I don't have the energy to maintain!
The great benefit of mu4e is that to a large extent, what I do now is
just dump all my messages into one big box and if I need to find some
specific message, I just use mu search.