Until recently, mu4e’s “Unread messages” bookmark gave me messages from Gmail’s /[Gmail].Spam folder, and duplicates of legitimate emails from both the /INBOX and /Gmail.[All Mail] folders. Today, I fixed that.

After doing some Web searches, I found someone’s configuration, and copied and then edited the mu4e-bookmarks variable from it. I added some “AND NOT [maildir goes here]” directives, and it worked. I also added bookmarks to /[Gmail].All Mail and /[Gmail].Sent Mail.

I added that to my own config and now it works fine.

The only major thing left to fix: I must open an encrypted message twice to see it…