How to Add a Table from Google Sheets to Your Emails
The Embed Range marker copies a range of cells from a Google Sheet into your email as a table. The table keeps the fonts, colors, borders, merged cells and column widths of the sheet, so you design it in Sheets and Mail Merge does the rest.
Use the marker for a price list, a class schedule, a rate card, a league table, or a summary that is different for each person.
Maya at Willow Lane Studio keeps her prices in a spreadsheet called Studio Prices, on a tab named Prices. Each January she emails the new prices to every client.
Cells A1 to C5 of the Prices tab look like this:
Service
What you get
Price
Logo design
3 concepts, 2 rounds of changes
$950
Brand kit
Logo, colors, fonts and a guide
$1,800
Website
5 pages, ready for phones
$3,200
Monthly care
Updates and backups
$120 a month
Open the spreadsheet that holds the table and copy its address from your browser’s address bar. The address looks like https://docs.google.com/spreadsheets/d/1AbC…789/edit.
Note the name of the tab and the cells you want, like Prices and A1:C5. Together they make the range address Prices!A1:C5, with an exclamation mark in between.
Open the sheet with your mailing list. Go to Extensions > Mail Merge with Attachments > Open Mail Merge, open your campaign and move to the Template step.
In the Message box, type an Embed Range marker on a line of its own. Paste the spreadsheet’s address after the first comma, then add address= and the range.
Hi {{First Name}},
Here are our prices for 2027. They apply to projects booked from January 1.
Tom at Becker Bikes has three stores. His Store Sales spreadsheet has one tab for each city, named New York, London and Madrid. Each tab has last month’s figures in A1 to D12. His mailing list has a City column with the same names.
Elizabeth emails each parent their child’s marks. The Marks tab has five rows for each student. Her mailing list has a Marks Range column that says where each student’s rows are:
When the address is one cell, with no colon, the marker adds the cell’s text, not a table. Put the marker inside a sentence to show a figure that you update in the sheet:
There are {{Embed Range, 1AbC…789, address=Summary!B2}} seats left for the March workshop.
Output
There are 14 seats left for the March workshop.
Mail Merge reads the cell when the campaign runs, so scheduled emails show the number as it is at that time.
Type the spreadsheet in the marker. The spreadsheet can’t come from a column or a merge field. A value in your mailing list can never choose which of your spreadsheets Mail Merge reads. The address can use merge fields.
The Google account that runs the merge must be able to open the spreadsheet. Recipients don’t need access. They get a copy of the cells, not a link to the sheet.
The table shows the cells as they are when the campaign runs. Later changes to the sheet don’t change emails you already sent.
Notes on cells travel with the table. Delete private notes from the range before you send.
A large range makes a long email. Gmail cuts off emails larger than 102 KB and hides the rest behind a “View entire message” link, so keep the range to the cells readers need.
A tab name can have spaces, but not a comma, because commas separate the parts of the marker.
The marker works in the message only. Mail Merge removes the marker from the subject and from plain text emails.
A problem with the spreadsheet or the range would affect every email, so Mail Merge stops the campaign and shows the reason in the log. Mail Merge never sends an email with a missing table. Fix the marker and click Send Emails again.
Embed Range needs a spreadsheet typed in the template, and address=
One of the two parts is missing, or the spreadsheet comes from a merge field. Paste the spreadsheet’s address into the marker itself, and add address= with the tab name and cells.
The tab name or the cells are wrong. Check the spelling of the tab name against the tab at the bottom of the spreadsheet. If the address uses a merge field, like {{City}}, check that every row has a value that matches a tab.
Embed Range … - The caller does not have permission, or Requested entity was not found
The account that runs the merge can’t open that spreadsheet, or the address is wrong. Open the spreadsheet in the same Google account, then copy its address again.