Attachment
class Attachment(val name: String, val content: ByteArray, val contentType: String = guessContentType(name), val contentId: String? = null)(source)
A file attached to an Email.
If contentId is set, the attachment is rendered inline and can be referenced from the HTML body via cid:<contentId>, e.g. <img src="cid:logo@example.com">.