Map<String, dynamic> toMap() { return <String, dynamic>{ 'htmlBody': htmlBody, 'subject': subject, 'textBody': textBody, }; }