SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
Mail Merge for Gmail v5.0

Mail Merge with Gmail
Use Mail Merge with Gmail to send personalized email messages to a large group of people from
your Gmail account.
The program is written in Google Apps Script and includes support for email aliases and Gmail
templates. Google only allows 100 emails per day so the Mail Merge program will split bigger jobs
into smaller batches and execute them at custom intervals so as not to exceed the daily quota.
See this video tutorial on Youtube for a quick demo.

Step 1
Compose a draft message in Gmail. You can add inline images, one or more file attachments and
also include recipients in the CC and BCC fields. The variable columns are written in the format
$%COLUMN-NAME%. For instance, if you have a column named First Name in the Google
Spreadsheet, you can add this variable in the Gmail draft message as $%First-Name%

Digital Inspiration www.labnol.org

Page 1
Mail Merge for Gmail v5.0

Step 2
Open the Google Spreadsheet link that you received in my email and click "Yes, make a copy" to
create a copy of the sheet in your Google Drive.

Digital Inspiration www.labnol.org

Page 2
Mail Merge for Gmail v5.0

Step 3
Open the Mail Merge sheet and add the variable fields that you have included in the Gmail draft
message.
For instance, in our example, we have 2 variable fields - First Name and Tour Date. We also need to
have a separate column for Email Address (the address of the recipient) and Mail Merge Status (that
will indicate whether the mails have been sent to the recipients or not).

Digital Inspiration www.labnol.org

Page 3
Mail Merge for Gmail v5.0

Step 4
Fill the sheet with the required data but keep the last column (Mail Merge Status) blank.

Digital Inspiration www.labnol.org

Page 4
Mail Merge for Gmail v5.0

Step 5
Go to the Mail Merge Menu and click Initialize.

Digital Inspiration www.labnol.org

Page 5
Mail Merge for Gmail v5.0

Step 6
Click OK at the authorization prompt

Digital Inspiration www.labnol.org

Page 6
Mail Merge for Gmail v5.0

Step 7
You'll see the permissions dialog. Click Accept here. You are running the script in your own Google
Drive and no one else other than you will have access to any of your data.

Digital Inspiration www.labnol.org

Page 7
Mail Merge for Gmail v5.0

Step 8
Go to the Mail Merge Menu again and click the Configure option.

Digital Inspiration www.labnol.org

Page 8
Mail Merge for Gmail v5.0

Step 9
1.
2.
3.
4.
5.
6.

Select the column in the spreadsheet that contains the recipient's emai address.
Select the Gmail template that you created in the previous step.
Choose your Gmail alias that will appear as the FROM address
Enter the replyTo address where you would like to receive replies
Enter your name that will appear in the message header.
Enter the Google Analytics Tracking ID (optional)

Click the Initiate Mail Merge button to save your changes. It make take 10 seconds for Google
Sheet to close the dialog, so please do not press the button twice.

Digital Inspiration www.labnol.org

Page 9
Mail Merge for Gmail v5.0

Email Output
The program will now run Mail Merge in the background and you may close the Google sheet. The
first batch of emails will go approximately 2 minutes after you have clicked the Mail Merge button.
You can check the Sent Items folder of your Gmail mailbox to see all the sent message. Here's a
sample of how the mails will look like in the recipient's mailbox.

Digital Inspiration www.labnol.org

Page 10
Mail Merge for Gmail v5.0

Step 10: Mail Tracking with Google Analytics
Go to Google Analytics, switch to the Reporting tab and then choose the Event report under RealTime to track mail open activity in real time.

Digital Inspiration www.labnol.org

Page 11
Mail Merge for Gmail v5.0

Step 11: Email Open Reports
Inside Google Analytics, expand the Behavior group and choose Events. Now select the date range
and you'll see all mail activity around your email campaign.

Digital Inspiration www.labnol.org

Page 12
Mail Merge for Gmail v5.0

Email Report - Google Analytics
You can click the category name and switch to the Event Label dimension to see a list of recipients
who have read your email.

Mail Merge - Daily Limit
You can only send mails to a maximum of 100 recipients per day using Google Scripts. For instance,
if you are sending a mail merge to two addresses - one in the To list and other CC list - that will be
counted as 2 messages and you'll then be able to send only 50 mails that day.
That's a limitation imposed by Google to prevent abuse of the platform.
You can however use the Mail Merge program to send mails to even larger groups and the script will
automatically split the job into smaller batches to prevent itself from exceeding the quota. For
instance, if you are sending mails to 150 recipients, the program will send mails to the 1st 100
recipients in the first day and the next 50 will get the mails the next day when the quota has reset.
For help and support, contact the author at amit@labnol.org
Twitter: http://twitter.com/labnol
Web: Digital Inspiration

Digital Inspiration www.labnol.org

Page 13

Mais conteúdo relacionado

Mais de Amit Agarwal

Gmail Auto-Forward with Google Scripts
Gmail Auto-Forward with Google ScriptsGmail Auto-Forward with Google Scripts
Gmail Auto-Forward with Google ScriptsAmit Agarwal
 
Gmail Mail Merge with Personalized Attachments and Email Tracking
Gmail Mail Merge with Personalized Attachments and Email TrackingGmail Mail Merge with Personalized Attachments and Email Tracking
Gmail Mail Merge with Personalized Attachments and Email TrackingAmit Agarwal
 
Export Gmail Attachments to Google Drive
Export Gmail Attachments to Google DriveExport Gmail Attachments to Google Drive
Export Gmail Attachments to Google DriveAmit Agarwal
 
Inline images for mail merge
Inline images for mail mergeInline images for mail merge
Inline images for mail mergeAmit Agarwal
 
Test Presentation - Ignore
Test Presentation - IgnoreTest Presentation - Ignore
Test Presentation - IgnoreAmit Agarwal
 
AdSense Tips by Amit Agarwal
AdSense Tips by Amit AgarwalAdSense Tips by Amit Agarwal
AdSense Tips by Amit AgarwalAmit Agarwal
 
Google Adsense Errors
Google Adsense ErrorsGoogle Adsense Errors
Google Adsense ErrorsAmit Agarwal
 
Write A Successful Blog
Write A Successful BlogWrite A Successful Blog
Write A Successful BlogAmit Agarwal
 

Mais de Amit Agarwal (14)

Blogging Tips
Blogging TipsBlogging Tips
Blogging Tips
 
Gmail Auto-Forward with Google Scripts
Gmail Auto-Forward with Google ScriptsGmail Auto-Forward with Google Scripts
Gmail Auto-Forward with Google Scripts
 
Gmail Mail Merge with Personalized Attachments and Email Tracking
Gmail Mail Merge with Personalized Attachments and Email TrackingGmail Mail Merge with Personalized Attachments and Email Tracking
Gmail Mail Merge with Personalized Attachments and Email Tracking
 
Export Gmail Attachments to Google Drive
Export Gmail Attachments to Google DriveExport Gmail Attachments to Google Drive
Export Gmail Attachments to Google Drive
 
Inline images for mail merge
Inline images for mail mergeInline images for mail merge
Inline images for mail merge
 
Hello world
Hello worldHello world
Hello world
 
Social Sharing
Social Sharing Social Sharing
Social Sharing
 
Twitter Book
Twitter BookTwitter Book
Twitter Book
 
Test Presentation - Ignore
Test Presentation - IgnoreTest Presentation - Ignore
Test Presentation - Ignore
 
Twitter Spam
Twitter SpamTwitter Spam
Twitter Spam
 
Presentation1
Presentation1Presentation1
Presentation1
 
AdSense Tips by Amit Agarwal
AdSense Tips by Amit AgarwalAdSense Tips by Amit Agarwal
AdSense Tips by Amit Agarwal
 
Google Adsense Errors
Google Adsense ErrorsGoogle Adsense Errors
Google Adsense Errors
 
Write A Successful Blog
Write A Successful BlogWrite A Successful Blog
Write A Successful Blog
 

Último

南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 
西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做j5bzwet6
 
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ EscortsDelhi Escorts Service
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 
E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxJackieSparrow3
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 AvilableCall Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilabledollysharma2066
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 

Último (9)

南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 
西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做
 
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
 
E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptx
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 AvilableCall Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 

Send Personalized Mails from Gmail in Bulk

  • 1. Mail Merge for Gmail v5.0 Mail Merge with Gmail Use Mail Merge with Gmail to send personalized email messages to a large group of people from your Gmail account. The program is written in Google Apps Script and includes support for email aliases and Gmail templates. Google only allows 100 emails per day so the Mail Merge program will split bigger jobs into smaller batches and execute them at custom intervals so as not to exceed the daily quota. See this video tutorial on Youtube for a quick demo. Step 1 Compose a draft message in Gmail. You can add inline images, one or more file attachments and also include recipients in the CC and BCC fields. The variable columns are written in the format $%COLUMN-NAME%. For instance, if you have a column named First Name in the Google Spreadsheet, you can add this variable in the Gmail draft message as $%First-Name% Digital Inspiration www.labnol.org Page 1
  • 2. Mail Merge for Gmail v5.0 Step 2 Open the Google Spreadsheet link that you received in my email and click "Yes, make a copy" to create a copy of the sheet in your Google Drive. Digital Inspiration www.labnol.org Page 2
  • 3. Mail Merge for Gmail v5.0 Step 3 Open the Mail Merge sheet and add the variable fields that you have included in the Gmail draft message. For instance, in our example, we have 2 variable fields - First Name and Tour Date. We also need to have a separate column for Email Address (the address of the recipient) and Mail Merge Status (that will indicate whether the mails have been sent to the recipients or not). Digital Inspiration www.labnol.org Page 3
  • 4. Mail Merge for Gmail v5.0 Step 4 Fill the sheet with the required data but keep the last column (Mail Merge Status) blank. Digital Inspiration www.labnol.org Page 4
  • 5. Mail Merge for Gmail v5.0 Step 5 Go to the Mail Merge Menu and click Initialize. Digital Inspiration www.labnol.org Page 5
  • 6. Mail Merge for Gmail v5.0 Step 6 Click OK at the authorization prompt Digital Inspiration www.labnol.org Page 6
  • 7. Mail Merge for Gmail v5.0 Step 7 You'll see the permissions dialog. Click Accept here. You are running the script in your own Google Drive and no one else other than you will have access to any of your data. Digital Inspiration www.labnol.org Page 7
  • 8. Mail Merge for Gmail v5.0 Step 8 Go to the Mail Merge Menu again and click the Configure option. Digital Inspiration www.labnol.org Page 8
  • 9. Mail Merge for Gmail v5.0 Step 9 1. 2. 3. 4. 5. 6. Select the column in the spreadsheet that contains the recipient's emai address. Select the Gmail template that you created in the previous step. Choose your Gmail alias that will appear as the FROM address Enter the replyTo address where you would like to receive replies Enter your name that will appear in the message header. Enter the Google Analytics Tracking ID (optional) Click the Initiate Mail Merge button to save your changes. It make take 10 seconds for Google Sheet to close the dialog, so please do not press the button twice. Digital Inspiration www.labnol.org Page 9
  • 10. Mail Merge for Gmail v5.0 Email Output The program will now run Mail Merge in the background and you may close the Google sheet. The first batch of emails will go approximately 2 minutes after you have clicked the Mail Merge button. You can check the Sent Items folder of your Gmail mailbox to see all the sent message. Here's a sample of how the mails will look like in the recipient's mailbox. Digital Inspiration www.labnol.org Page 10
  • 11. Mail Merge for Gmail v5.0 Step 10: Mail Tracking with Google Analytics Go to Google Analytics, switch to the Reporting tab and then choose the Event report under RealTime to track mail open activity in real time. Digital Inspiration www.labnol.org Page 11
  • 12. Mail Merge for Gmail v5.0 Step 11: Email Open Reports Inside Google Analytics, expand the Behavior group and choose Events. Now select the date range and you'll see all mail activity around your email campaign. Digital Inspiration www.labnol.org Page 12
  • 13. Mail Merge for Gmail v5.0 Email Report - Google Analytics You can click the category name and switch to the Event Label dimension to see a list of recipients who have read your email. Mail Merge - Daily Limit You can only send mails to a maximum of 100 recipients per day using Google Scripts. For instance, if you are sending a mail merge to two addresses - one in the To list and other CC list - that will be counted as 2 messages and you'll then be able to send only 50 mails that day. That's a limitation imposed by Google to prevent abuse of the platform. You can however use the Mail Merge program to send mails to even larger groups and the script will automatically split the job into smaller batches to prevent itself from exceeding the quota. For instance, if you are sending mails to 150 recipients, the program will send mails to the 1st 100 recipients in the first day and the next 50 will get the mails the next day when the quota has reset. For help and support, contact the author at amit@labnol.org Twitter: http://twitter.com/labnol Web: Digital Inspiration Digital Inspiration www.labnol.org Page 13