i was wondering lately how i could send emails with only a front-end language like Javascript through Email as a Service apps like sendgrid or mandrill or so.
Sendgrid a
If you'd like to keep the key secure you can use something like Aerobatic's HTTP Proxy to specify the key and proxy through the server environment.