The idea is:
Allow users to fully customize HTML of SendAndWait mails so expert users could implement their own templates.
My use case:
From node configuration, users could define a HTML template with variables like {$message}, {$subject}, {$buttons}… So they could integrate other parameteres from the mail and create a email in their very own style/branding.
I think it would be beneficial to add this because:
Current templates have some styles like text-align:center and max-width<500 what make difficult to read long emails, even more from desktop environments.
Any resources to support this?
- https://github.dev/n8n-io/n8n/blob/master/packages/nodes-base/nodes/EmailSend/v2/sendAndWait.operation.ts
- https://github.dev/n8n-io/n8n/blob/master/packages/nodes-base/utils/sendAndWait/email-templates.ts
Are you willing to work on this?
I could help developing this feature, but sadly my current time is limited due to family context and work.