The envelope containing sender and recipient details.
The headers of the email.
The plain text body of the email.
Optional
attachments: Attachment[]Optional attachments for the email.
Optional
attachmentsThe attachments associated with the email. Defaults to an empty array if not provided.
The plain text body of the email.
The envelope containing sender and recipient details.
The headers of the email, stored as key-value pairs. Header names are case-insensitive.
Creates a new email instance.