# Load email address from dashboard

**URL:** <https://discourse.nodered.org/t/load-email-address-from-dashboard/1511>\
**Category:** Dashboard\
**Created:** [11 July 2018 12:51 UTC](https://discourse.nodered.org/t/load-email-address-from-dashboard/1511 "2018-07-11T12:51:11Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![barry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/barry/32/1022_2.png) [@barry](https://discourse.nodered.org/u/barry)\
**Post date:** [13 July 2018 15:58 UTC](https://discourse.nodered.org/t/load-email-address-from-dashboard/1511/21 "2018-07-13T15:58:17Z")

</div>

Hi Paul/ Colin  
Thanks again for your help.

I made it work by storing address in a file

And then triggering file to trigger email node

`[{"id":"af7c64.a3fb33a","type":"inject","z":"716e078a.2ee618","name":"","topic":"email","payload":"barry.miller@live.com","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":180,"y":160,"wires":[["977d695f.094198"]]},{"id":"bc9ed8ca.efae88","type":"debug","z":"716e078a.2ee618","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":750,"y":40,"wires":[]},{"id":"7ec48af5.b81ff4","type":"change","z":"716e078a.2ee618","name":"","rules":[{"t":"set","p":"to","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":530,"y":40,"wires":[["bc9ed8ca.efae88","739d84ba.594f7c"]]},{"id":"95f0485e.98aa58","type":"inject","z":"716e078a.2ee618","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":40,"wires":[["a8b1b9af.58d068"]]},{"id":"739d84ba.594f7c","type":"file in","z":"716e078a.2ee618","name":"Batch Reports","filename":"/home/pi/node-red/Batch Requested Temp.csv","format":"","chunk":false,"sendError":false,"x":700,"y":100,"wires":[["9278b0f0.474f1"]]},{"id":"9278b0f0.474f1","type":"e-mail","z":"716e078a.2ee618","server":"smtp.gmail.com","port":"465","secure":true,"name":"","dname":"","x":870,"y":100,"wires":[]},{"id":"977d695f.094198","type":"file","z":"716e078a.2ee618","name":"/home/pi/node-red/email_1","filename":"/home/pi/node-red/email_1","appendNewline":false,"createDir":true,"overwriteFile":"true","x":500,"y":160,"wires":[]},{"id":"a8b1b9af.58d068","type":"file in","z":"716e078a.2ee618","name":"","filename":"/home/pi/node-red/email_1","format":"utf8","chunk":false,"sendError":false,"x":320,"y":40,"wires":[["7ec48af5.b81ff4"]]}]`

[Previous page](https://discourse.nodered.org/t/load-email-address-from-dashboard/1511.md?page=1)
