# Format alert and action email

**URL:** <https://discuss.elastic.co/t/format-alert-and-action-email/257300>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [December 2, 2020, 3:31am UTC](https://discuss.elastic.co/t/format-alert-and-action-email/257300 "2020-12-02T03:31:02Z")\
**Posts on this page:** 2\
**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:** [December 2, 2020, 3:31am UTC](https://discuss.elastic.co/t/format-alert-and-action-email/257300/1 "2020-12-02T03:31:03Z")

</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.

Thanks for your time.

---

<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 30, 2020, 3:31am UTC](https://discuss.elastic.co/t/format-alert-and-action-email/257300/2 "2020-12-30T03:31:22Z")

</div>

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