Mailer service
TIP
Available as a global service
WARNING
Service methods are only allowed from the server side. create is the sole available method, used to send an email.
Overview
This service is powered by feathers-mailer. It acts as a proxy to send transactional emails through an SMTP server.
It is used internally by the account service notifier to dispatch verification and password-reset emails.
DEPRECATION NOTICE
Gmail API requires OAuth2 authentication to send emails. The simplest solution is to create a service account and to delegate the domain-wide authority to the service account with scope https://mail.google.com.
Hooks
The following hooks are executed on the mailer service: