AI-generated Key Takeaways
-
The Mail service enables scripts to send emails on behalf of a user without accessing their Gmail account, focusing solely on sending functionality.
-
It features the
MailApp
class with methods to send emails and check the remaining daily email quota. -
MailApp
offers varioussendEmail
methods to send emails with different levels of customization, including specifying recipients, subject, body, and optional arguments.
This service allows scripts to send email on a user's behalf. See also Gmail Service. Unlike Gmail Service, Mail Service's sole purpose is sending email; it cannot access a user's Gmail account.
Classes
Name | Brief description |
---|---|
Mail | Sends email. |
MailApp
Methods
Method | Return type | Brief description |
---|---|---|
get | Integer | Returns the number of recipients you can send emails to for the rest of the day. |
send | void | Sends an email message. |
send | void | Sends an email message. |
send | void | Sends an email message with optional arguments. |
send | void | Sends an email message. |