3 ms·
I made a version of this also bare gmail API -- not that I can't use imap but I often have emails related to tasks I want to keep open. But if I have many GMail
by loremm 6mo ago
I made a version of this also bare gmail API -- not that I can't use imap but I often have emails related to tasks I want to keep open. But if I have many GMail tabs open, it kills my ram.
I also habitually want to open a new GMail tab to check for new email, but waiting for the heavy webapp to load takes forever. So a simple client-side only app which calls the gmail api for the top 20 emails and allows to search (so find the email and then leave that tab open) works great
- loremm 6mo agoalso the nice thing about making personal apps is I can make it entirely keyboard shortcut oriented and harcode the vimium like navigation (f, then modals pop up, then click to go to that email). I got the loading down time to feel instant
- Virgo_matt 6mo agoExactly! Love it! Is yours on GitHub? Would love to check it out
- loremm 6mo agoNot yet I'll post later, need to make sure I didn't hard code anything I need to talk to claude and read the oauth docs, but when I kept it entirely client side, I had to reauth/re login with gmail every ~ hour. Did you run into that? I feel like I ran into this in the past and need to have my server renew the token? Or use the service worker? I'll read your code to see how you did it
- Virgo_matt 6mo agoyea I didn't read it super closely, but I think setting it up as a test user keeps the oauth token for ~7 days. let me know what you find!