What is the Email Admin in the App Engine quotas?

424 views Asked by At

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?

1

There are 1 answers

1
Greg On BEST ANSWER

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.