OptionalattachmentsThe attachments of the email.
OptionalbccThe recipients that should receive the email as bcc.
OptionalccThe recipients that should receive the email as cc.
The html content of the email.
Whether or not the email should be stored in the db, even after it has been sent.
The priority of the email.
The recipients that should receive the email.
The sender from which the email should be sent.
The emails status, like QUEUED, SENT or FAILED etc.
The subject of the email.
OptionaluserOptional id of a userId to which this email belongs.
Data for creating a new email in the db.