Message
@Serializable
Represents a complete email message with headers, body, attachments, and metadata.
Constructors
Link copied to clipboard
constructor(inboxId: String, threadId: String, messageId: String, labels: List<String> = emptyList(), timestamp: Instant, from: String, to: List<String> = emptyList(), cc: List<String> = emptyList(), bcc: List<String> = emptyList(), subject: String? = null, preview: String? = null, text: String? = null, html: String? = null, attachments: List<Attachment> = emptyList(), inReplyTo: String? = null, references: List<String> = emptyList(), headers: Map<String, String> = emptyMap(), size: Int, updatedAt: Instant, createdAt: Instant)