Any reason why not just use the standard mail functionality within Mendix? Then you can just send it as attachment (as soon as there is a connection at least)?
Regards,
Ronald
Maybe the Solution of this post might help:
https://community.mendix.com/link/space/marketplace/questions/143603
Cite:
Mendix exposes file entities (including images) using the /file endpoint. You can access a specific image using the following URL format: {APP URL}/file?guid={OBJECT GUID}
Try this as the URL property of the share