Closed martinsrna closed 3 years ago
Scrappy fix to address this: trigger an GET /api/sync
call when the user opens up any one of their feed pages (i.e. every time I call GET /api/messages
, I should also be triggering a Gmail sync). Ideally, I should also make sure to sync the first 10 messages first before calling GET /api/messages
, but merely triggering a sync would be a good scrappy fix for now.
The best way to address this (in addition to the scrappy fix ☝️ ), would be to subscribe to email changes using webhooks.
I received a new newsletter from Quartz, but it doesn’t show up in the Feed (it has the label and it’s filtered in Gmail):