I am learning to make gmail addons. But I am stuck at a point on how to access email address value of user who using addons.
After Reading I get that I will need this permission https://www.googleapis.com/auth/userinfo.email
But how to actually get email address when user opens addon in Gmail
Please can anybody help me on this
This seems to work:
var emailAddress = Session.getEffectiveUser().getEmail();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With