Map<String, dynamic> toJson() { return { 'subject': subject, 'body': body, 'recipients': recipients, 'cc': cc, 'bcc': bcc, 'attachment_paths': attachmentPaths, 'is_html': isHTML }; }