Open
Description
Hi there,
Not sure if it's a bug in gmail.js or something wrong on my end but new_email
observe action isn't working for me. I tried the following:
gmail.observe.on("load", () => {
gmail.observe.on("new_email", (id, url, body, xhr) => {
console.log("id:", id, "url:", url, "body", body, "xhr", xhr);
});
});
I also tried the following way but still no luck:
gmail.observe.on("load", () => {
gmail.observe.after("new_email", (url, body, data, response, xhr) => {
console.log(response.response);
});
});
When a new email arrives in the inbox, I expect to see the console log but nothing happens really. Would appreciate a hint on this 🙏
Note
Not only the 'load' observer but other requests based observer aren't working either. For example, I have tested the 'refresh' observer in the boilerplate but that's not working as well.
Metadata
Metadata
Assignees
Labels
No labels