mail-trends
mail-trends copied to clipboard
Added fix from @redpola
The fix for issue 1 worked for me as well, on a Linux machine.
I'm a bit surprised you don't have the "All Mail" folder. Is your Gmail by any chance running in a different language? Based on http://www.limilabs.com/blog/localized-gmail-imap-folders, it looks like the names reported by Gmail's IMAP server vary based on your account's language. A better fix would be to either allow the "All Mail" folder name to be specified by a command-line argument, or to use the XLIST command to automatically figure out which folder is the "All Mail" one.
My Gmails in English, and I have the All Mail folder enabled in IMAP. Not sure what's going on :}