Assuming that you have a JPEG available on HA file system:
- Use “http request” node to get the JPEG into binary buffer
- Send the buffer content to “node-red-node-email” node setting recipients / subject / etc.
[{"id":"76893cc.6efbb44","type":"e-mail","z":"41a32ab4.6710fc","server":"smtp.gmail.com","port":"465","secure":true,"tls":true,"name":"[email protected]","dname":"Send email","credentials":{},"x":2870,"y":420,"wires":[]},{"id":"374bb493.3dd2dc","type":"change","z":"41a32ab4.6710fc","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"Motion in garage","tot":"str"},{"t":"set","p":"description","pt":"msg","to":"This is my description","tot":"str"},{"t":"set","p":"filename","pt":"msg","to":"snapshot.jpg","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2680,"y":420,"wires":[["76893cc.6efbb44"]]},{"id":"4a58871c.01d58","type":"http request","z":"41a32ab4.6710fc","name":"","method":"GET","ret":"bin","paytoqs":"ignore","url":"https://URL/local/snapshots/recent_highres.jpg","tls":"","persist":false,"proxy":"","authType":"","credentials":{},"x":2490,"y":420,"wires":[["374bb493.3dd2dc"]]}]