Send email from inside custom code action

It would be great to be able to send an email from inside a custom code action. Currently, custom code action supports the AWS S3 API so I think it would be great if we can either connect to our AWS SES instance or using a global hubspot SES instance to send an email.