Hi, I am using the following nodes to take a picture from RPi cam and then send it to email.
[{"id":"f5e22b0.5d7bdd8","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"9277c6bf.bf8c68","type":"inject","z":"f5e22b0.5d7bdd8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":220,"y":180,"wires":[["26da5578.c1254a"]]},{"id":"26da5578.c1254a","type":"camerapi-takephoto","z":"f5e22b0.5d7bdd8","filemode":"1","filename":"photo1.JPEG","filedefpath":"0","filepath":"/home/pi/Desktop/Demo","fileformat":"jpeg","resolution":"1","rotation":"0","fliph":"0","flipv":"0","brightness":"50","contrast":"0","sharpness":"0","quality":"80","imageeffect":"none","exposuremode":"auto","iso":"0","agcwait":"1.0","led":"0","awb":"auto","name":"","x":420,"y":200,"wires":[["aa743f02.9493","185c721c.4b90be"]]},{"id":"3337db10.00ed54","type":"e-mail","z":"f5e22b0.5d7bdd8","server":"smtp.gmail.com","port":"465","secure":true,"tls":true,"name":"receiver@gmail.com","dname":"","x":980,"y":520,"wires":[]},{"id":"185c721c.4b90be","type":"function","z":"f5e22b0.5d7bdd8","name":"","func":"msg.payload={};\nmsg.payload.type=\"photo\";\nmsg.payload.caption=\"Next photo in sequence\";\nmsg.payload.content=\"/home/pi/Desktop/Demophoto1.JPEG\";\nreturn msg;","outputs":1,"noerr":0,"x":430,"y":280,"wires":[["26b8dad9.f3ba06"]]},{"id":"aa743f02.9493","type":"debug","z":"f5e22b0.5d7bdd8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":790,"y":100,"wires":[]},{"id":"369fef0a.39566","type":"debug","z":"f5e22b0.5d7bdd8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1010,"y":380,"wires":[]},{"id":"26b8dad9.f3ba06","type":"file in","z":"f5e22b0.5d7bdd8","name":"","filename":"/home/pi/Desktop/Demophoto1.JPEG","format":"","chunk":false,"sendError":false,"x":610,"y":360,"wires":[["71cedaeb.7f7f64","369fef0a.39566"]]},{"id":"71cedaeb.7f7f64","type":"change","z":"f5e22b0.5d7bdd8","name":"","rules":[{"t":"set","p":"to","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":770,"y":480,"wires":[["3337db10.00ed54"]]}]
But I wanna take 3 pictures and then send them in one email. Could anyone help me?