i am using the email node but for some reason the msg.topic value is not showing up in the subject line of the emails. does anyone know how to make it work?
[{"id":"f01171f6.f07ad","type":"status","z":"8dc4cb03.fcb688","name":"","scope":["f314ef06.b4e4e"],"x":90,"y":916,"wires":[["3d23c86.e110438"]]},{"id":"a9eee60d.ac5368","type":"e-mail","z":"8dc4cb03.fcb688","server":"0.0.0.0","port":"25","secure":false,"tls":false,"name":"cherio@yahoo.com","dname":"PowerMeter","x":881,"y":918,"wires":[]},{"id":"e8ce8b62.799208","type":"function","z":"8dc4cb03.fcb688","name":"","func":"if (msg.payload != \"active\"){\n msg.payload = \n '<a href=\"http://np100:1880\"> Datalogger Communication Error</a>'\n msg.topic = 'Datalogger Communication error';\n}\nelse {\n return;\n}\nreturn msg;","outputs":1,"noerr":0,"x":445,"y":916,"wires":[["d476e6c8.d1c298"]]},{"id":"3d23c86.e110438","type":"change","z":"8dc4cb03.fcb688","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"status.text","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":269,"y":916,"wires":[["e8ce8b62.799208"]]},{"id":"b3f79eb2.22c21","type":"debug","z":"8dc4cb03.fcb688","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":822.5,"y":984,"wires":[]},{"id":"d476e6c8.d1c298","type":"delay","z":"8dc4cb03.fcb688","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"hour","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"x":615,"y":914,"wires":[["b3f79eb2.22c21","a9eee60d.ac5368"]]},{"id":"5958347e.59a7ac","type":"inject","z":"8dc4cb03.fcb688","name":"","topic":"","payload":"failed","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":266.5,"y":971,"wires":[["e8ce8b62.799208"]]}]