MailApp is the api from Google App Script that can be used to send mail
function sendEmails() {
var subject = "A subject for your new app!";
var message = "And this is the very first message"
var recipientEmail = "
[email protected]";
MailApp.sendEmail(rec...