Google Apps Script Mail Merge - Send Personalized Emails From a Google Sheets List

Опубликовано: 22 Апрель 2026
на канале: Too Long; Didn't Watch Tutorials
484
9

This tutorial shows you how to set up a mail merge in Google Sheets using Google Apps Script. You’ll learn how to send personalized emails through Gmail without relying on add-ons or third-party tools.

If you watching my video on sending emails from Microsoft Excel, this is essentially the same thing but for Google Sheets (and Gmail instead of Outlook)

What you’ll learn in this video:

How to connect a Google Sheet to Gmail with Apps Script
Writing the code to loop through rows and send customized emails (it's easy, don't worry)
Using conditions to skip rows that are already marked as sent
Logging timestamps to keep track of completed emails

By the end, you’ll have a working solution for sending tailored messages to multiple recipients directly from Google Sheets. This approach is efficient, cost-free, and easy to maintain.

If you found this helpful, please let me know in the comments and by liking and subscribing. If this video does well, I will do more videos similar to this.

Code: https://github.com/TLDWTutorials/gmai...

Video timeline:

Intro - 0:00
Overview - 0:03
Getting started - 0:50
HTML editor - 1:24
Getting started with Google Apps Script - 2:19
Running the code - 4:30
The results - 4:57
Outro - 5:44