简体   繁体   中英

Maximum sending rate and daily quota for Gmail+Google Apps Script?

I wrote a small Google Apps Script to send out personalized e-mails (conference invitations) individually to recipients (ie one recipient per e-mail). As a workaround to the issue of e-mails sent using GmailApp.sendEmail not showing up in the Sent Mail folder, I have one script send the e-mails to itself (ie the sender and recipient are the same), then another script to forward those to the appropriate recipients. There are only about 100 (maybe less) verified recipients, but I'm concerned that sending out the e-mails as fast as the script executes might get them flagged as spam due to the rate at which they are being sent. My questions are the following:

  1. If a Google Apps Script accesses a Gmail account to send and forward e-mails using GmailApp , does it incur a sending rate limit (eg in e-mails/second, kB/second, etc.)?

  2. Which quota applies to said script? Is it Gmail's 500/day or Google Apps' 100/day?

PS I found this discussion about quotas , but I'm not sure if my case falls under either of the scenarios described therein.

  1. There are no such limits. There is a limit on the body size per email - 20KB
  2. It's 500 emails/day for Gmail users and free Google Apps users. Please note though that CCing and BCCing are all counted against your quota. So if you send one email and CC it to 500 hundred people you would have used up all your quota for that day. Also, there are additional quotas when sending emails within a domain.

此外, MailApp.getRemainingDailyQuota()方法将告诉您当天可以发送多少封电子邮件。

All the quotas are described here: https://developers.google.com/apps-script/guides/services/quotas

How are e-mails sent using GmailApp.sendEmail not showing up in the Sent Mail folder?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM