# Transform email body response to a more readable form

**URL:** <https://discuss.elastic.co/t/transform-email-body-response-to-a-more-readable-form/227889>\
**Category:** Elasticsearch\
**Created:** [April 14, 2020, 10:38am UTC](https://discuss.elastic.co/t/transform-email-body-response-to-a-more-readable-form/227889 "2020-04-14T10:38:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [April 15, 2020, 9:36am UTC](https://discuss.elastic.co/t/transform-email-body-response-to-a-more-readable-form/227889/4 "2020-04-15T09:36:12Z")

</div>

Yes, it is possible to use HTML attributes or CSS styles.

See [Watcher “watcher.actions.email.html.sanitization” table attributes](https://discuss.elastic.co/t/watcher-watcher-actions-email-html-sanitization-table-attributes/50971)  
E.g.

```auto
<table border='1' style='font-family:sans-serif;font-size:13px'>

```

Just pay attention to the HTML sanitization.  
Elasticsearch will filter some HTML tags or elements.  
If you see some elements are not present in the final email, it means you have to allow the element in sanitization using [those settings](https://www.elastic.co/guide/en/elasticsearch/reference/current/actions-email.html#email-html-sanitization).

---

_[View the full topic](https://discuss.elastic.co/t/transform-email-body-response-to-a-more-readable-form/227889)._
