# Node-red-node-email formatting with ccs or html

**URL:** <https://discourse.nodered.org/t/node-red-node-email-formatting-with-ccs-or-html/89825>\
**Category:** General\
**Created:** [28 July 2024 02:53 UTC](https://discourse.nodered.org/t/node-red-node-email-formatting-with-ccs-or-html/89825 "2024-07-28T02:53:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![imperium85](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/imperium85/32/83662_2.png) [@imperium85](https://discourse.nodered.org/u/imperium85)\
**Post date:** [28 July 2024 02:53 UTC](https://discourse.nodered.org/t/node-red-node-email-formatting-with-ccs-or-html/89825/1 "2024-07-28T02:53:08Z")

</div>

Hi People,

I'm using the node-red-node-email node to send out an email. It works fine, but the email looks very raw.  
I would like to format it maybe with css or html to add some nice touches to it. I found a css and html email example in the cookbook but don't really understand how does it work. How can I format the msg.payload going into the email node ?

Thanks

---

<div class="post-metadata">

**Author:** ![imperium85](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/imperium85/32/83662_2.png) [@imperium85](https://discourse.nodered.org/u/imperium85)\
**Post date:** [28 July 2024 04:04 UTC](https://discourse.nodered.org/t/node-red-node-email-formatting-with-ccs-or-html/89825/2 "2024-07-28T04:04:14Z")

</div>

I found a great example:

> **[Using MJML to improve your email in Node-RED](https://blog.andrelademann.de/using-mjml-to-improve-your-email-in-node-red)**
>
> Sending emails with Node-RED is very easy. But it's hard to do it in a beautiful way. MJML meets Node-RED!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 August 2024 04:05 UTC](https://discourse.nodered.org/t/node-red-node-email-formatting-with-ccs-or-html/89825/3 "2024-08-11T04:05:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
