DEV Community

Pimenta, Ewerson
Pimenta, Ewerson

Posted on

Answer: How to include inline images in email using MailApp

The documention for sendEmail(message) shows how to add two logos to an email as inline images.

Here's an adaptation from Google's example that will prepend your text blocks with their locale flags. It uses images from Wikimedia, which are freely licensed under Creative Commons.

screenshot

The keys to how this works…

Top comments (0)