Mailmerge Thunderbird

Create and distribute visually rich mail merges with Gmail and Google Sheets.

Last updated: February, 2021

How to mail merge thunderbird

Contributed by Martin Hawksey, follow me on Twitter @mhawksey or read my Google Apps Script related blog posts.

Mail merge in word

Simplify the process of producing visually rich mail merges using Gmail and combining it with data from Google Sheets. With this solution you can automatically populate an email template created as a Gmail draft with data from Google Sheets. Merged emails are sent from your Gmail account allowing you to respond to recipient replies.

Technology highlights

  • Uses the Gmail Service to read drafts and to send emails.

  • Uses SpreadsheetApp service to read and write data.

Try it

  1. Create a copy of the sample Gmail/Sheets Mail Merge spreadsheet.

  2. Update the Recipients column with email addresses you would like to use in the mail merge

  3. Create a draft message in your Gmail account using markers like {{First name}}, which correspond to column names, to indicate text you’d like to be replaced with data from the copied spreadsheet.

  4. In the copied spreadsheet, click on custom menu item Mail Merge > Send Emails.

  5. A dialog box will appear and tell you that the script requires authorization. Read the authorization notice and continue.

  6. When prompted enter or copy/paste the subject line used in your draft Gmail message and click OK

  7. The Email Sent column will update with the message status.

Next steps

Okay, problem solved. Just for the record (if anyone has experienced a similar problem): When ready to send the e-mail, and clicking on Mail Merge, be sure that the 'character set' (in the Mail Merge dialog box) says 'Windows 1252'. The Mail Merge extension is compatible with the latest Thunderbird 3.0. releases, and is cross-platform. It supports two features, dubbed Mass Mail and Personal Mail. Mass Mail allows you to create a draft email, put your intended recipients in the To:, CC:, and BCC: fields, then automatically split the draft into a set of identical copies. Utilisation de Thunderbird avec Mail Merge pour l'envoi de mail en nombre. Avantages: Un mail par destinataires et Un mails qui tombe moins facilement dans.

Additional columns can be added to the spreadsheet with other data you would like to use. Using the {{}} annotation and including your column name as part of your Gmail draft will allow you to include other data from your spreadsheet. If you change the name of the Recipient or Email Sent columns this will need to be updated by opening Tools > Script Editor.

Mail Merge Create and Save or Send Multiple Individual and Personalized Messages from a Draft The Thunderbird support site does not support add-ons other than those shipped with the Thunderbird installer. At this time Lightning. This video will demonstrate how to mail merge attachments with Mozilla Thunderbird. For the basics on doing a mail merge, please check my video and guide bel.

The source code includes a number of additional parameters, currently commented out, which can be used to control the name of the account email is sent from, reply to email addresses, as well as bcc and cc'd email addresses. If you would like to find out more about the features of this solution including some modifications you can make for additional functionality like setting up scheduled sending here is a related blog post.

For more information on the number of email recipients that can be contacted per day you can read the Current Quotas documentation. If you would like to find out more about the coding pattern used to conditionally read and write Google Sheets data here is a related blog post.

To learn more about Google Apps Script, try out the codelab which guides you through the creation of your first script.

You can also view the full source code of this solution on GitHub to learn more about how it was built.


Were you able to get the solution up and running?

Combining Profiles In Thunderbird

Great! Check out the 'Next steps' section above to learn more.
Bummer, let us know what went wrong. If you have found a bug in the code, report the issue on GitHub or submit a pull request.

If you have an idea for another solution you'd like to see featured in ourgallery submit a request on theGitHub issue tracker.

I have the Mail Merge Add-On installed (and brilliant it is, too!!!) and am trying to get it to send a different attachment to each recipient. The instructions, so I thought, looked reasonably simple, but, the messages are arriving without the attachment!Mailmerge
If anyone can help and suggest where I might be going wrong then I would be so grateful!
So, I have a file called Email List.csv in the c:temp folder and contains the following:
Richard,Sinton,[email protected],c:tempAttachment1.docMail merge thunderbird mac
Richard,Sinton2,[email protected],c:tempAttachment2.doc
Richard,Sinton3,[email protected],c:tempAttachment3.doc
I write the message with following details:
To: {{Email}}
Subject: Test
Body: Hello {{FirstName}}
Then, on the File, Mail Merge page:
Source: CSV
Deliver Mode: Send Now

Mail Merge Thunderbird Tutorial

Format: HTML:
Attachments:: {{Attachment}}
File: C:TempEmail List.csv
Character Set: UTF-8
Field Delimiter: ,
Text Delimiter: '
It sends all 3 messages, but, there is nothing attached!
Any ideas?
Comments are closed.