build Mail
Create a mail with a plain text or HTML content.
This method does not send the mail, use sendMail for that.
Parameters
recipients
Recipients of the mail, RFC822 syntax (comma separated addresses).
subject
Subject of the mail.
content
Content of the mail.
contentMimeType
Mime type of the content, defaults to "text/plain".
attachments
Attachments of the mail, if any: (data, name, mimeType).