Never mind, it was easier to use Mailjet and base64 the file and send it through HTTP/Post via email.