Using Google App Script to send emails through Gmail

Using Google App Script to send emails through Gmail

Has anyone done this?

I have scanned the Google Apps information and it looks like there are APIs for Gmail and one can use the Script Editor to create an App which can then be called using an simple URL.

From Zoho Creator, I want to be able send emails with attachments (possible) from Gmail. This way they will appear to come from my domain and will appear in the relevant threads when viewing messages in Gmail.

Has anyone done this?