This is brilliant, well done buddy. I signed up for a free email account modified the routine and have it working perfectly.
How hard would it be to create a similar send mail routine, but instead to upload the contents of a SPIFFS file to a FTP server.
Well done mate, really good work.
PS: Is their an option to have the ESP to the base64 encode?
Dans