# Format email in the Alerting and Actions

**URL:** <https://discuss.elastic.co/t/format-email-in-the-alerting-and-actions/254505>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [November 6, 2020, 8:48am UTC](https://discuss.elastic.co/t/format-email-in-the-alerting-and-actions/254505 "2020-11-06T08:48:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)\
**Post date:** [November 6, 2020, 8:48am UTC](https://discuss.elastic.co/t/format-email-in-the-alerting-and-actions/254505/1 "2020-11-06T08:48:24Z")

</div>

Hi all,  
I want to format the mail that when SIEM or system monitor send mail there will be some information that i can see so i dont really have to access SIEM app to see them.  
From what i know the watcher has that format but i dont know fi the mail action has them.  
I have tried `{{context.user.name}}` to get the user.name field in the mail but no luck so far.  
Please help.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)\
**Post date:** [November 23, 2020, 1:33am UTC](https://discuss.elastic.co/t/format-email-in-the-alerting-and-actions/254505/2 "2020-11-23T01:33:24Z")

</div>

Please can anyone help me with this.

---

<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:** [December 21, 2020, 1:33am UTC](https://discuss.elastic.co/t/format-email-in-the-alerting-and-actions/254505/3 "2020-12-21T01:33:24Z")

</div>

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