Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the daily email limit in Google Apps Script?

Can someone tell me if there is a webpage that lists the official Google limit (Quotas) on emails sent from a Google Apps Script?

In testing my little script I got an error:

Service invoked too many times: email (# 59)

and now I can't send any more emails.

The obvious place for this information would be in the MailApp.sendEmail documentation. But, that does not say anything about a limit.

I found this discussion on the google forum from 2/11/10 where users discuss about a 100 or 500 emails/day limit, with a 24 hour ban, but no one from Google provided an official answer.

Note that this is for Google Apps Script, which is different from the Google App Engine, which does have well published limits.

like image 711
Jose M Vidal Avatar asked Apr 30 '10 12:04

Jose M Vidal


People also ask

How long can a Google Apps Script run?

A single execution of Apps script can last no longer than 6 minutes and you're hitting this limit.

Does Google Apps Script cost money?

Apps Script is free to use, and all you need to get started is a Google account. So, if you use Gmail, you can start coding in Apps Script in your browser, for free, right now. If you use Sheets, you can start.

How do I increase execution time in Google Script?

You can register early access for App Maker after App maker enabled your script run runtime will increase run time from 6 minutes to 30 minutes :) Ya we can increase run time from 6 minutes to 30 minutes using Early access program but those apps cannot be deployed to public.


1 Answers

You can use MailApp.getRemainingDailyQuota() to get an "estimate" of how many more emails to distinct recipients you can send for the day.

I haven't sent any emails today and the function returned 500, so that confirms the daily limit suggested by Joseph.

like image 195
Kevin Avatar answered Oct 26 '22 23:10

Kevin