0

We have created a Gmail contextual gadget which allows users to upload emails to our system. This is deployed to the Chrome Web Store / Google Apps Marketplace and installed by a domain administrator to the users. To get the full raw email data including attachments we call an apps script from the gadget that uses the Gmail api to retrieve the data.

The first time the user tries to do this however they have to authorize the apps script against their Gmail account. Is there any way to include the permissions for the apps script in the marketplace listing so end users don't need to authorize the script?

aaronp
  • 23
  • 1
  • 7

1 Answers1

0

Not possible to do that. Also beware your apps script might run into problems with many users concurrently running the script.

Zig Mandel
  • 19,571
  • 5
  • 26
  • 36
  • By problems do you mean exceeding quota limits? I was under the impression that the quotas listed at https://developers.google.com/apps-script/guides/services/quotas applied on a per user basis if the script is run as the user? Cheers – aaronp Apr 10 '14 at 01:48
  • Yes api quotas will be ok, and this might not apply to user-auth scripts but ive also seen errors similar to "sorry the script has reached the maximum simultaneous execution quota" – Zig Mandel Apr 10 '14 at 03:52