# Add gateway report to an alarm email notification

**URL:** <https://forum.inductiveautomation.com/t/add-gateway-report-to-an-alarm-email-notification/11429>\
**Category:** Ignition\
**Created:** [March 29, 2016, 2:02pm UTC](https://forum.inductiveautomation.com/t/add-gateway-report-to-an-alarm-email-notification/11429 "2016-03-29T14:02:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Jeror](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@Kevin\_Jeror](https://forum.inductiveautomation.com/u/Kevin_Jeror)\
**Post date:** [March 29, 2016, 2:02pm UTC](https://forum.inductiveautomation.com/t/add-gateway-report-to-an-alarm-email-notification/11429/1 "2016-03-29T14:02:01Z")

</div>

Hi,

Is it possible to add a dynamic gateway report to an alarm email notification?  
If it’s not, it will be great!!

Bests

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [March 29, 2016, 3:12pm UTC](https://forum.inductiveautomation.com/t/add-gateway-report-to-an-alarm-email-notification/11429/2 "2016-03-29T15:12:36Z")

</div>

Not seeing a way to add it as an attachment to the alarm email, but you can definitely trigger the report to run and either be available on your file server (so you could include a link in the email) or the report can email itself separately.

Use [system.report.executeAndDistribute](https://docs.inductiveautomation.com:8443/display/DOC/system.report.executeAndDistribute) to generate the report. Depending on what you want it to do, this could be on a tag change script, or in your alarm pipeline in a runScript expression block or a script block.

And, of course, you can suggest adding the ability to attach the report at [ideas.inductiveautomation.com](http://ideas.inductiveautomation.com/forums/255378-ignition-features-and-ideas)🙂

---

<div class="post-metadata">

**Author:** ![Kevin\_Jeror](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@Kevin\_Jeror](https://forum.inductiveautomation.com/u/Kevin_Jeror)\
**Post date:** [April 8, 2016, 7:42am UTC](https://forum.inductiveautomation.com/t/add-gateway-report-to-an-alarm-email-notification/11429/3 "2016-04-08T07:42:14Z")

</div>

Generating report on the disk will fastly take a lot a space. However, we’ll investigate this way thanks.  
Idea posted, thanks.

Bests
