Email multiple canvas screenshots



I’m trying to send some canvas snapshots over email via PHP from 3 different cameras using Yaustar’s method from here [SOLVED] Screenshot with a camera and not the canvas

I feel like I’m nearly there since I’m receiving the emails however the three images are sent through separate emails rather than all attached to the same one.

Here is a link to the project

Is there a way to either combine the three canvas screenshots into one image or to post the three separate images through the same post method?

Many thanks