EmailMessage

constructor(id: String, clientRefId: String? = null, owner: String, owners: List<Owner>, emailAddressId: String, folderId: String, previousFolderId: String? = null, seen: Boolean = false, repliedTo: Boolean = false, forwarded: Boolean = false, direction: Direction, state: State, version: Int, sortDate: Date, createdAt: Date, updatedAt: Date, size: Double, from: List<EmailMessage.EmailAddress>, to: List<EmailMessage.EmailAddress>, cc: List<EmailMessage.EmailAddress> = emptyList(), bcc: List<EmailMessage.EmailAddress> = emptyList(), replyTo: List<EmailMessage.EmailAddress> = emptyList(), subject: String? = null, sentAt: Date? = null, receivedAt: Date? = null, hasAttachments: Boolean, encryptionStatus: EncryptionStatus, date: Date? = null)