A tiny tool to send an Email aka MIME message through Gmail API.
go get github.com/siketyan/sendgmail@v1.0.0
Make sure you set up application credentials as described in https://cloud.google.com/docs/authentication/production .
cat message.eml | sendgmail