KartikTalwar / gmail.js

Gmail JavaScript API
MIT License
3.76k stars 457 forks source link

Undo_Send XHR observe not working #671

Open petegordon opened 2 years ago

petegordon commented 2 years ago

Just noticing the undo_send observe event is not firing... created this small example from boiler plate to test it. https://github.com/petegordon/gmailjs-node-boilerplate

josteink commented 2 years ago

This functionality was added by @JerryBels way back and I really have no deep knowledge here.

Maybe he can help?

JerryBels commented 2 years ago

Hum... I do remember adding it for my project back then and pushing, but my project died a long time ago so I'm not using it anymore. I'm sorry but I won't be able to provide a fix soon - but it should be pretty straightforward to debug. I would say simply log action before line https://github.com/KartikTalwar/gmail.js/blob/master/src/gmail.js#L963 and check if the action_map is still fine, maybe Google changed it since then?

Good luck