Now I am working on the chrome extension using gmail.js APIs.
According to the tutorial , a function should receive a parameter when called (namely, email_idor an email item ). But when I passed the email_id to the function, I got an error message like: "api.dom.email with invalid element / id" .

As you can see in the screenshot above, I could even run gmail.get.email_id()well, but that didn't work when called gmail.dom.email(gmail.get.email_id()).
source
share