3 ms·
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
by jbandela1 3y ago
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.
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/...
It is inspired by vim. It downloads all the email snippets and sorts them in descending order by sender and date.
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.
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.
It is really useful if you are getting started or are falling behind and need to quickly classify a few thousand emails.
It is a single 500 line Rust program so you can hack on it to change it to how you like it.
- snthpy 3y agoSounds great! I also had a chuckle that this is a rust app under the cpp-from-the-sky-down repo.
- greentea23 3y agohttps://github.com/neomutt/neomutt https://github.com/neomutt/neomutt is a mature project with similar functionality in its arsenal via tagging and vim bindings, not limited to gmail either. You can also write emails in vim/$EDITOR fluidly.
- stevage 3y agoGmail lets you customise keyboard shortcuts and has custom labels so you can basically do that exact thing without any third party tools or workflows.