I use Google Spreadsheets\' built-in form functionality to build contact forms on my website.
Now, consider this code:
function sendFormByEmail(e) {
A simple way that worked for me.
function inlineImage() { MailApp.sendEmail({ to: "Your@email.com", subject: "Subject", htmlBody: ' Google ' , }); }