Questions tagged [gmail-addons]

Questions related to Gmail Add-ons, the modern developer platform that allows custom sidebars and buttons to be added to the Gmail user interface.

A Gmail Add-on is a standalone Google Apps Script project. Its purpose is to improve productivity and help the user perform an action directly from the Gmail page without leaving it.

The language used, Google Apps Script, is a server-side scripting language based on JavaScript 1.6. All add-ons use a "card"-style UI, to enable a common appearance on all platforms.

387 questions
6
votes
2 answers

How to debug gmail-addons with real email

I want to create a gmail add-on. I've already created the quick start application: https://developers.google.com/gmail/add-ons/guides/quickstart So, trigger function for that example is : function buildAddOn(e) { // Activate temporary Gmail…
esayli
  • 61
  • 4
6
votes
3 answers

Unable to find Enable developer add-ons for my account checkbox

I'm working through the quick-start for a Gmail Addon. https://developers.google.com/gmail/add-ons/guides/quickstart When I try to Install my developer addon I Open the Gmail add-on settings tab In the Add-ons tab, make sure that you have selected…
PNC
  • 1,932
  • 19
  • 36
5
votes
0 answers

Is it possible to enable SPF, DKIM and DMARC for emails sent via GMAIL APIs?

As the title states, has anybody successfully enabled the 3 security mechanisms for emails they have sent via gmail apis? Currently all emails i sent via the gmail-api (http) send, are successfully received by the recipient but has no security…
GovZ
  • 253
  • 1
  • 11
5
votes
1 answer

Is it better go with Gmail Addon or chrome extension for Gmail?

I am new to google products. I'm planning to start add on kind of stuff with in gmail. Is it better to go with Add on or chrome Gmail Extension similar to Add on? If it is add-on, can't we launch custom url directly in side Add-on? Is this in…
5
votes
0 answers

Gmail addon - how do I find the current draft ID

I'm building a gmail addon which lets users insert a template into the compose window. It works fine but I'd like to get the ID of the draft they're editing and I can't figure out how. It's not safe to assume it's the most recent draft as I'm not…
Caedmon
  • 667
  • 7
  • 11
5
votes
3 answers

Unable to get Active user's email

I tried to log the user's email for debugging purposes. I used Session.getActiveUser().getEmail(). I received the following error. Exception: You do not have permission to call Session.getActiveUser.getEmail() Required permissions:…
hhsb
  • 560
  • 3
  • 23
5
votes
1 answer

Can Gmail Add-ons be always available in the sidebar?

I am creating a Gmail Add-on (for the new look Gmail - circa May 2018), I cannot see how it is possible to have the add-on be available "all the time" on the sidebar like the Calendar / Keep and Tasks add-ons. I can only find documentation that…
5
votes
1 answer

How to get current Users Email ID in GMAIL ADDONS

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…
Sandeep Chikhale
  • 1,505
  • 2
  • 21
  • 36
5
votes
1 answer

Is there a way to enable gmail addons for emails google has deemed unsafe?

The add-on sidebar simply states "Content not available for this message" if Google thinks the email is unsafe. There does not seem to be any manifest options that help with this, or at least I could not find any mentions out there. Is there a way…
Dhudemond
  • 51
  • 1
5
votes
2 answers

How to use HtmlService in Gmail add-on using App Script

I am creating a Gmail Add-on. The following reference page says - https://developers.google.com/gmail/add-ons/reference/ "Gmail add-ons are built using Apps Script and the many services it provides. You can use any of the Apps Script services when…
Shubham Gupta
  • 159
  • 1
  • 14
5
votes
1 answer

Add a section widgets dynamically into Card on newSelectionInput OnChangeAction

I'm trying to add a section widgets dynamically to Card/CardService on newSelectionInput OnChangeAction, the card already added. I did not see any documentation on Google, how to achieve this behavior. Can someone please direct me to the right…
jkyadav
  • 1,214
  • 5
  • 18
  • 32
4
votes
1 answer

This developer add-on is restricted by policies within your organization

I'm trying to test a gmail add-on within my G-Suite organization. Gmail reports me the message above, even if the developer add-on is developed by the same google account within my G-Suite organization I am trying to install it. What policies would…
4
votes
0 answers

Gmail Add-ons starting to show up on iOS?

I'm a Gmail Add-on developer with two add-os on the Gmail Add-on marketplace. I've noticed that certain Add-ons like Dropbox, Asana, and Trello, have started to show up inside the Gmail app on iOS. My two apps, however, Wordzen and GMass, are not…
Ajay Goel
  • 41
  • 3
4
votes
0 answers

OAuth2 google script library - bad token

Context: GMail Add-on code with Library resource OAuth2 at version 29. I have this code working (adjusted to show here): function getOAuthService() { return OAuth2.createService('myName') .setAuthorizationBaseUrl(baseUrl) …
Glen Little
  • 6,951
  • 4
  • 46
  • 68
4
votes
1 answer

How to change the logoURL dynamically?

I am creating a Gmail Add-ons. (Sample is working) I would like to dynamically change logoUrl, but that way does not seem to be defined. (ex. Change to a specific logo when receiving a specific e-mail address. etc) Is there a way to do that?
Kyo Ago
  • 43
  • 4
1
2
3
25 26