Default handler function parsing and sending email.
Used within object of RegLogGmailrConnector class internally. It can
send custom emails using subject, body and attachments from
RegLogConnectorMessage of type custom_mail.
gmailr_custom_mail_handler(self, private, message)RegLogGmailrConnector message.
R6 object element
R6 object element
RegLogConnectorMessage which should contain within its data:
process
username
mail_subject
mail_body
mail_attachment (optional, needs to be of class mailMessageAttachment)
Other mail handler functions:
emayili_custom_mail_handler(),
emayili_reglog_mail_handler(),
gmailr_reglog_mail_handler()