4

I am sending emails with EmailMessage().send() from a Python App Engine app. After sending a few test emails to my gmail addres, in the Quota Details page I read this:

Recipients Emailed   5%    5%    5 of 100     Okay
Admins Emailed       0%    0%    0 of 5,000   Okay

In the Permissions page my email address is the only one listed and it's the owner.

I was expecting emails addressed to the owner of the app to fall in the Admins Emailed quota, not in the Recipients Emailed.

Here it says:

Admin Emails
The total number of messages to application admins that have been sent by the application.

What is the Email Admin quota for?

stenci
  • 8,290
  • 14
  • 64
  • 104

1 Answers1

3

The google.appengine.api.mail package has a function send_mail_to_admins(sender, subject, body, **kw) that will send the email to all admins of the application, and uses the Admin Emails quota, rather than the general one: Documentation.

Greg
  • 10,350
  • 1
  • 26
  • 35
  • does CC or BCC counts as an individual email? So if I send 1 email with 1 CC, it will count as 2 emails. And the quote will be 2 of 100 . Sorry to post question here. Just in case you know. – John Sep 11 '20 at 13:00