In this article:

Automatically Send Email from Google Sheets (Easiest Way 2024)

May 30, 2024

In this article, we will show you how to automate sending emails in Google Sheets using Lido so that emails are automatically sent on a schedule.

Automation in google sheets previously required knowledge of its Script Editor, Google Apps Script, which can be difficult to learn and use.

Lido is a new kind of spreadsheet that is fully compatible with Google Sheets, and has automation built in, allowing you to more easily automate tasks without writing code.

Automate Sending Emails in Google Sheets

Imagine you have a list of multiple customers and you have to create multiple customized emails for each of them. Doing this for a long database will take you a while to finish. Using Google Sheets makes this easier and here’s a simple guide for you to follow to automatically mail merge and send them.

1. Input Recipient Details in Google Sheets

We will put recipient details in Sheet 1, including the recipient name, mailing address, and other details you want to customize in your text body. Remember to separate each in a new column. 

google sheets email automation - send email google sheets
Details of Recipients in Google Sheets

You may want to create an email spreadsheet by gathering email addresses and contact information from a google form or by exporting your email newsletter contacts to google sheets.

2. Create a Lido Account

Lido is a new spreadsheet built for automation that is fully compatible with Google Sheets. Using Lido will allow us to create an automation to send emails with normal spreadsheet syntax in just a few simple steps instead of having to use Google Apps Script or other complicated code. 

You can create a free account at

3. Connect your Google Sheet to Lido

sending email

Click on the green Connect Data button in the upper left corner, then click Google Sheets.

Paste in the Google Sheets URL for the email marketing spreadsheet you created earlier and click connect to Google Sheets.

how to automatically send emails from google sheets

This will load a box asking you to authenticate your google account. Make sure that you check the option that gives Lido access to your Google Sheets. Once that has been done you can click Next.

email google spreadsheets

Select the columns from your Google Sheet that you want to connect to Lido. Lido will automatically keep records updated from your Google Sheet, so don’t worry if you plan to add more records.

Click Add Data and your google spreadsheet data has now been imported to Lido as a table.

google sheets automated email

4. Create Email Subject and Body Message Templates in a new Spreadsheet

In a new worksheet, type in your email subject and body content.  Reference your columns as variables using this format: [@Column]. 

In the example below we entered the text below in Column B:

Email subject:

Thanks for your inquiry, [@Name]

Email body:

Dear [@Name], thank you for your inquiry about [@Service].

automated email from google sheets for more than two people

5. Create Subject and Email Message Columns Referencing the Message Template

In order to have dynamic Subject and Body content for each customer record, we will create Subject and Body columns based on the templates you created in the previous step and pull in dynamic fields from the row.

Lido has a formula called =STRINGTEMPLATE() that replaces column references (like [@Name]) with the values of a row in a table.  We will use this to create dynamic email subjects and bodies.

Make a computed column by entering this formula in the second row of the blank column next to your table:



email_body_cell is the cell location of the email body we made in step 5. (Remember to use an absolute reference - like Sheet1!$B$1). 

This will automatically create a computed column.



What is a computed column?

A computed column is a special type of column in Lido that automatically applies the same formula to every row in your table.


Our formula in cell D2 for email subject will be:


And then for cell E2 for email body it is:


Your table should now have Subject and Body columns with dynamic content, like this:

send automated emails from google sheets

6. Configure the =SENDGMAIL() Formula to Send Emails

The formula to send an email from Lido is:

=SENDGMAIL(<sender-credential>, recipient, subject, body, status_cell)



SENDGMAIL is an Action formula

Action formulas are a special type of formula unique to Lido. Unlike other spreadsheet formulas, they don't run immediately when you type them in. You need to explicitly run them manually or with an automation.


In our example this will be:

Sender-credential: a credential you create for (This should be the email address associated with a Gmail or Google Apps account)

Recipient: email address in B2

Subject: D2

Body: E2

Create a new Computed Column for the SENDGMAIL formula to Send Email

Start typing =SENDGMAIL() in a cell directly next to your body column in the second row. When you're in the first argument, click on the "+" to add a sender credential to your Gmail (or Google Apps) account.

Follow the flow and you will now have a credential for your Gmail.

custom message to send emails

Finish out the formula: 


You can then rename the column Send the Email.

Now you should have something that looks like: 

sending email to two or more people - custom message case study

7. Send a Test Email

Let’s test one of these actions to run. Right click on a SENDGMAIL formula and click Run action. You’ll need to authenticate into your Gmail account the first time.  

It's a good idea to run a test before running an entire mail merge so you can check for formatting issues or other errors.

way to automate email sending from gmail email address

8. Click 'Run Column Now' to Send all Emails in the List

If you want to send all emails in your column at once, click on the 3 dot menu in your SENDGMAIL column, then select Run column now.

email automation from email address in google speadsheet

Automate Sending Emails on a Recurring Schedule 

If you don’t want to manually run your email actions every time, you can set up a Lido automation to do it for you.

In the 3-dot menu for your SENDGMAIL column, select Run column on a schedule.

sendemail alternative - sending email message on a schedule

This will open the automation panel. Select an option for how frequently you want to run every SENDGMAIL Action in the column. Before every automation run, Lido will automatically fetch the latest data from Google Sheets as well.

sendemail alternative to automate email messages

In this example, we are going to automatically send out our emails once per day at 9:30am. 

Click Save to create your new automation.

How Do I Send Email to an Email Address Only Once?

If you are planning to run this automation regularly and don't want to email the entire list each time, it is a good idea to create a status column where we can keep track of who has already been sent an email.

Step 1. Create a Status Column

1. Create a status column by typing "Status" in the top cell of the next empty column.

This will automatically create a Linked Column in Lido. A Linked Column is a special type of column in Lido where you can put any text value and it magically stays in sync with your Google Sheets data.

2. Select email as the column that will have unique values

Note: for Linked Columns to work, you need to have a column in your Google sheets data whose values are unique - and that includes blank values. Timestamps work well, email addresses often do, or other record IDs

google cloud - google developer expert - email addresses in an email spreadsheet without app script

Step 2. Edit the SENDGMAIL Formula to Update the Status Column

Next, add a 5th parameter to SENDGMAIL that will update the status column with the result of sending the email ("success" or an error). For our example:

```=SENDGMAIL(<sender-credential>, B2, D2, E2, G2)```

When SENDGMAIL is run, it will put the status in cell G2. If it runs successfully, the value "success" will be saved in G2. If there is an error, the error message will be saved in cell G2.

Send another Test email and you should see this: 

Step 3. Add an IF Statement to Check if an Email has Been Sent

Finally, we will wrap our SENDGMAIL formula in an IF statement to check if an email has been sent already (column G = "success") and only show SENDGMAIL if it has not been sent. Otherwise, FALSE is displayed.

When the column is run now, only rows that have SENDGMAIL in them will trigger emails (these are the rows that have not yet had an email sent). Once any new emails have been sent, the status column will be updated with "success", and emails will not be sent a second time for that row.

=IF(CELL REF <> “success”), SENDGMAIL(<sender-credential>, recipient, subject, body, CELL REF))


CELL REF <> “success” - This is the cell in your status column that is not filled with success

For our example below, we use the following formula in row 2.

Remember, a computed column automatically uses the same formula in all rows, so you can edit any row, just make sure you use the correct row number. We generally use row 2 in examples

```=IF(G2<>"success", SENDGMAIL(<sender-credential>, B2, D2, E2, G2))```

You can see that for emails that have already been sent (column G = "success") they display FALSE instead of SENDGMAIL.

And those are a few ways to make sending emails easier for work or personal use. Having the power to do these with multiple emails in scheduled automations based on data in Google Sheets save you a lot of time and effort. This is our new updated method instead of using our old sendemail google script (also known as apps script).

You can also import and save emails from google calendar, google analytics, google cloud champion, google slides, document studio and many other platforms!

This tutorial also doubles as a method to create a mailing list and send google forms email notification messages from a google sheets spreadsheet with your personalized email address without the need for complex email campaign sofwtware. You can do it all from your spreadsheet!

Be sure to also check us out in the google workspace marketplace!

Two Methods to Send Emails From Google Sheets in 2024

You can send email from google sheets using Apps Script or Lido. However, Lido is much Easier to use. Follow the steps below to see how easy it is:

1. Input Recipient Details in Google Sheets

2. Create a FREE Lido Account

3. Connect your Google Sheet to Lido

4. Create Subject and Email Template Message for your mail merge

5. Configure the send email google sheets formula =SENDGMAIL()

6. Send a Test Email

7. Click 'Run Column Now' to Send all Emails in the List

8. Set up Automation to Send on a Schedule.

By following the steps above you can easily send email in google sheets from your gmail, google drive or google workspace. Simply scroll up to the top of this article and follow each step.

Want to send your email campaign with an attachment? Check out our guide!

If you enjoyed this article you might also enjoy our article on how to send email when cell value changes or how to send email when a new row is added.

You can also send custom PDFs from google sheets data using a custom google doc template.

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.
Get your copy of our free Google Sheets automation guide!
  • 27 pages of Google Sheets tips and tricks to save time
  • Covers pivot tables and other advanced topics
  • 100% free

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->