Apps-Script-Gmail-Push-Notifications-v2 | updated version of Gmail Push Notifications | Notification library
kandi X-RAY | Apps-Script-Gmail-Push-Notifications-v2 Summary
kandi X-RAY | Apps-Script-Gmail-Push-Notifications-v2 Summary
An updated version of Gmail Push Notifications in Apps Script
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Apps-Script-Gmail-Push-Notifications-v2
Apps-Script-Gmail-Push-Notifications-v2 Key Features
Apps-Script-Gmail-Push-Notifications-v2 Examples and Code Snippets
Community Discussions
Trending Discussions on Apps-Script-Gmail-Push-Notifications-v2
QUESTION
I'm trying to make an inbox-listener element to automatically pull message content with a specific subject line into a Google Spreadsheet for reporting. I'm hoping this GitHub Project will do the trick, and I've made the Google Appscript project that should handle it. Part of the process is to verify the project ownership by publishing it as draft on the Chrome web store. According to Google's documentation, that should be under the publish function, but I don't see it there, or anywhere in the script editor. Could anyone tell me what I'm doing wrong, or if this feature is disabled?
Here is what the menu looks like in my IDE.
Thanks!GAS Code
main.gs
...ANSWER
Answered 2017-Mar-17 at 11:51The "Register in Chrome Web Store" option is only available in the standalone scripts. Meaning, if this script is bound to a Google Sheets, Docs, Forms or scripts appear among your files in Google Drive, then this "Register in Chrome Web Store" is not available.
You can verify it by checking the publish in this "https://www.google.com/script/start/". This one will have an option of "Register in Chrome Web Store" in the publish.
While by checking the script editor of a spreadsheet, created in your Drive, the "Register in Chrome Web Store" will not be found in the Publish section.
Hope this information helps you.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Apps-Script-Gmail-Push-Notifications-v2
Add the following libraries: PubSubApp - 1BX8k4tkiA3CZGIZ0hHccfiF7o-EvjqLCt3hoU3osDQBhnGlQTRnawOGE GSApp - 1wkfv_Mm0IyruEZyPZsrctcSmc1T9y0-bArl2gIzMd6RVYJAwWeJ5gpDu
Publish the project as a web app
Register the web app in the Chrome web store leaving it in draft mode. This will verifiy ownership of the script.
Run the script from the cuurrent web app URL. (the /exec one). You will get an error about no doGet(). Copy the URL it redirected you toward.
Add the URL to the WEBHOOK_URL var in main.gs
Open up the project developers console: a) Under Credentials -> Domain Verification: Add the url you copied in WEBHOOK_URL in step 6 ommiting the exec from the end b) Create a new service account. Download the credentials as json. c) Under Overview: Enable the PubSub API and the Gmail API d) Copy the json credentials and paste it into script properties under the key jsonKey.
Copy the developers console project Id to PROJECTID var in main.gs
Create a spreadsheet. Create a sheet called Log. Copy the file Id and paste it in SpreadsheetApp.openById() of doPost().
Update the webapp version to pick up changes made to the project.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page