class Mail(val receivers: List<String>, val subject: String, val body: String? = null, val bodyIsHtml: Boolean = false, val attachments: List<MailAttachmentFile> = emptyList())
Represents an email to be sent
Parameters
receivers
The email addresses of the receivers
subject
The subject of the email
body
The body of the email
bodyIsHtml
Whether the body is in HTML format
attachments
The files to be attached to the email