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
2
votes
0 answers

Is it possible to develop an add-on for Google Calendar?

We would like to create a google Calendar add-on/plugin/extension that will let us push the event to our cloud hosted application when creating or editing an event in Google calendar. We have a cloud hosted application that our clients use. One of…
2
votes
1 answer

How to remove autoselection for radiobutton in google script for gmail addon?

I have created Radiobutton group and first one is coming as auto selected. how can i remove that? var radio = CardService.newSelectionInput() .setType(CardService.SelectionInputType.RADIO_BUTTON) radio.setOnChangeAction(CardService.newAction() …
vinay narayana
  • 197
  • 1
  • 2
  • 10
2
votes
2 answers

How can we store data securely in google when developing Gmail addon using Google app script?

I am creating a Gmail addon, my doubt was how can I save some secure and confidential information on Google side so that I can use it later in my code. Does Google provide some kind of secured storage mechanism?
2
votes
0 answers

Get subject, body and attachment info from Compose UI in gmail addon

I have this gmail addon which has a composeTrigger defined in appscript.json like this. "composeTrigger": { "selectActions": [ { "text": "ComposeTrigger", "runFunction": "composeTrigger" } ], …
SanketDG
  • 550
  • 5
  • 12
2
votes
0 answers

Can I add a button to gmail to run a google apps script?

I am trying to create a button in gmail to run the following google apps script code:Google Apps Script Code This code allows the extracting and backing up of images embedded in emails. I have used the code and added it to a project in…
memrat
  • 147
  • 2
  • 14
2
votes
1 answer

Is it still possible to publish a Gmail addon?

I've been trying to publish a Gmail add-on for half a year now. But I can't submit it, because the required option is disabled: I've seen the other postings about this and registered at the doc and the issue tracker, but got no response at all. Did…
leuk98743
  • 131
  • 7
2
votes
3 answers

Cannot return a card markup from the callback function of a universal action

I'm just trying to get started with the sample addon Google describes here for extending the compose UI: https://developers.google.com/gsuite/add-ons/gmail/extending-compose-ui However when I run it I'm getting this error: Error with the add-on.…
Michael
  • 1,428
  • 3
  • 15
  • 34
2
votes
0 answers

How to get current location using google-apps-scripts?

I would like to get from google-apps-scripts gmail addon the user current location. I couldn't manage to run a method from HtmlService within a card. Is there a way to include html to a card or alternatively get geolocation within a card?
DanielM
  • 3,598
  • 5
  • 37
  • 53
2
votes
0 answers

How to fetch test vs prod properties in gmail add-on apps script project

I am working on a Gmail Add-on apps script. I need to make calls to non-google services. The endpoint url for this service is different in dev vs qa vs prod environments. I can save different script properties but how does the deployment identify…
luthrad
  • 67
  • 4
2
votes
1 answer

Creating draft email from gmail addon that extends compose UI

I'm running my gmail add-on with the following…
ack_inc
  • 1,015
  • 7
  • 13
2
votes
1 answer

Extract URL from html body for specific link text in A Gmail Addon

I am trying to get the href(s) from an HTML document (Gmail email) that has link text of "cats" For e.g. I want to extract the URLs from below links that would be anywhere in an html document
credizian
  • 469
  • 5
  • 20
2
votes
1 answer

Google Apps Script "Unsupported add-on"

Background: I started a new Google Apps Script project on November 1, 2018. The project creates a custom GMail add-on. Things were working. Then, on November 14th, Google released some features for the CardService: The Card service has been…
Joseph Combs
  • 909
  • 9
  • 12
2
votes
2 answers

Email sending from Gmail API are going to SPAM

I have a setup going on from long time. But from recently any emails I send through Gmail API are directly going to spam folder. I have taken care of all email sending measures like SPF, DKIM, DMARC, Reputation etc. But I don't know where the error…
2
votes
1 answer

Card with sections and card list - Gmail Add-On

I'm currently trying to create a card with two section, the first section will be a simple text section, but the second will be a card list. I have no idea how to include card list in this section, do you think it is possible? I have this method…
Albenss
  • 73
  • 9
2
votes
2 answers

Domain Wide Editor Add-on not found in Marketplace

I've published a domain-wide sheets add-on using this guide https://developers.google.com/gsuite/add-ons/how-tos/publish-for-domains The GCP project is setup and the Visibility is set to "My Domain" In the Chrome Web Store the project status is…
jadent
  • 3,674
  • 5
  • 27
  • 32