If you are looking for a simple solution for inbox zero for gmail - quickly classify emails as archive, follow-up, read through, take a look at my hacky attempt.<p><a href="https://github.com/google/cpp-from-the-sky-down/blob/master/rust_gmail_sorter/src/main.rs">https://github.com/google/cpp-from-the-sky-down/blob/master/...</a><p>It is inspired by vim. It downloads all the email snippets and sorts them in descending order by sender and date.<p>Then you use “j”, “k” to navigate through the emails. You can press “a” for archive, “f” for follow up, and “r” for read through. You can also press “p” to navigate to next email prefix (the stuff before the @) and “d” to navigate to the next domain. Like vim you can combine keystrokes. “ad” will archive all the emails from the present position to the next domain. Since these are sorted by reverse date, often you can look at recent dates and archive the rest.<p>All operations happen in memory so they are instantaneous. You the press “w” to actually move the messages on the server as a batch operation.<p>It is really useful if you are getting started or are falling behind and need to quickly classify a few thousand emails.<p>It is a single 500 line Rust program so you can hack on it to change it to how you like it.