I need to send on an email the users signature obtained via canvas component, I'm able to send a text email successfully, but when I try to send the image from the canvas as HTML all I get is the path, I need the actual image.
Convert image to base64, and send this in the body as an <img> element in your body, as a datauri - data:img/jpeg;base64,sdlkfsdfl.....(not tested, might work)
You are saving a path to the image in TinyDB (should be saved to the 'ASD' or 'Pictures'). TinyDB not required.
What does the extension say about including images? Does it actually want a path or should the image be encoded to Base64? I think most likely Base64, as suggested by Tim.
You will have to add pass attachments as list in parameter attachments.
Since you are sending mail as html so you need to convert image to base64 and follow above posts.
I'll try to prepare an example as soon as possible.