Send gmail with html and attachments

Hi, I was trying to create a class that let me send an email with html body and attachments, somenthing like this: Sending Emails With Python – Real Python

…and yes in python it’s all is simple, but here with juce, there’s a way?
I established a connection with this two lines, but now?:

StreamingSocket strSoc{};
strSoc.connect("smtp.gmail.com", 465);

can anyone help me?