const email = row[10];
const subject = `Hey, `+row[8]+'! CONGRATULATIONS on completing the training!';
const messageBody = `Hi, ${row[8]}. I am offering Virtual Assistant services specializing in graphic design, video editing, basic SEO, and admin support. With more than 3 years of experience I can provide quality results, increase brand visibility, and handle various administrative tasks such as managing emails, scheduling appointments, and conducting research. I work efficiently, am highly organized, and proficient in using different online tools and software. My goal is to treat your business as my own and deliver quality work within budget and on time. Check my online portfolio Virtual Aide PH or you can click the image below. Let's talk soon! `;
MailApp.sendEmail({
to:email,
subject:subject,
htmlBody: messageBody,
attachments: [blob.getAs(MimeType.PDF)]
});