# HTML in Kibana email action

**URL:** <https://discuss.elastic.co/t/html-in-kibana-email-action/277093>\
**Category:** Kibana\
**Created:** [June 25, 2021, 5:37pm UTC](https://discuss.elastic.co/t/html-in-kibana-email-action/277093 "2021-06-25T17:37:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sireesha\_m](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sireesha_m/32/85688_2.png) [@sireesha\_m](https://discuss.elastic.co/u/sireesha_m)\
**Post date:** [June 25, 2021, 5:37pm UTC](https://discuss.elastic.co/t/html-in-kibana-email-action/277093/1 "2021-06-25T17:37:59Z")

</div>

I have Kibana email action being triggered as a web hook from my Elastic watcher.  
The doc says markdown is supported.

I have added the following for email payload:  
``"message": "New alert created for asset **motor\_pump\_1** on channel **equipment\_channel\_1** at 2021-06-25T19:42:02.000Z (UTC) \n \n \n### Alert Details \n \n \n- Current status: **open** \n- Alert level: **CRITICAL** \n \n \n \n \n[Go to alert details](https://testapm.symphonyindai.com/wrp/pages/alert-details/7d6452cc-4efc-440d-9cdf-3495768d06ba?navbar=false) \n  
Broken the link??  
 \n ![alt text for screen readers]()", "subject": "[NEW\_ALERT] Anomaly on channel for asset ID 1 and goodness channel, testing"}}"`

I need to do the following:

1. Attach a logo to the email
2. Use html styling, which didn't work so far. But I see that markdown supports html. Is there any other kind of declaration I have to use in email payload?

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [July 5, 2021, 3:18pm UTC](https://discuss.elastic.co/t/html-in-kibana-email-action/277093/2 "2021-07-05T15:18:08Z")

</div>

Hi @sireesha_m, I'm not very a watcher expert but checking [the docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.13/actions-email.html#email-html-sanitization) it is stated that Watcher supports HTML but it is sanitized and you need to configure which tags are allowed in your emails.

Where did you see that Markdown was supported?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 2, 2021, 3:18pm UTC](https://discuss.elastic.co/t/html-in-kibana-email-action/277093/3 "2021-08-02T15:18:54Z")

</div>

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