Optional
attachmentsThe attachments of the email.
Optional
bccThe recipients that should receive the email as bcc.
Optional
ccThe 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.
Optional
userOptional id of a userId to which this email belongs.
Data for creating a new email in the db.