How to Do a Mail Merge: A Complete Guide to Personalizing Mass Emails and Documents
Mail merge is one of those features that sounds complicated but becomes surprisingly straightforward once you understand the moving parts. Whether you're sending 50 personalized event invitations or 5,000 customer emails, the core process follows the same logic across nearly every platform that supports it.
What Is a Mail Merge?
At its most basic, a mail merge pulls data from a list — typically a spreadsheet — and automatically inserts that data into a template document or email. The result: dozens, hundreds, or thousands of individually addressed messages, each feeling personal, without you typing each one manually.
The term originated in desktop word processing (Microsoft Word popularized it in the 1980s), but the concept now extends to email clients, CRM platforms, Google Workspace, and dedicated bulk-email tools.
The Three Core Components of Any Mail Merge
Regardless of the platform you use, every mail merge involves the same three elements:
| Component | What It Is | Example |
|---|---|---|
| Data source | A list of recipients and their details | Excel spreadsheet, Google Sheet, CSV file |
| Template | The document or email with placeholder fields | A letter with {{First Name}} in the greeting |
| Merge fields | Tags that map template placeholders to data columns | «FirstName», {{email}}, [COMPANY] |
The platform reads each row in your data source, swaps out the merge fields with that row's values, and outputs a unique version for each recipient.
How to Do a Mail Merge in Microsoft Word (with Outlook)
This is the most traditional route, and it's built directly into Microsoft 365 and standalone Office versions.
Step-by-step overview:
- Open a new document in Word and write your letter or email template.
- Go to the Mailings tab and click Start Mail Merge — choose either "Letters" or "Email Messages."
- Click Select Recipients → Use an Existing List, then connect your Excel spreadsheet or CSV file.
- Place your cursor where you want personalized content, then click Insert Merge Field to add fields like First Name, Company, or Address.
- Use Preview Results to check how the output looks for individual recipients.
- Click Finish & Merge — choose "Print Documents," "Edit Individual Documents," or "Send Email Messages" (which routes through Outlook).
The Word/Outlook combo works well for formal letters and internal communications, but it requires Outlook to be set up as your mail client for the email-sending step.
How to Do a Mail Merge in Google Docs and Gmail 📧
Google's native mail merge options are more limited than Microsoft's, but several workarounds exist.
Using Google Sheets + Gmail (via Apps Script or add-ons):
- Create your recipient list in Google Sheets, with each column representing a data field (First Name, Last Name, Email, etc.).
- Install a Gmail mail merge add-on (such as YAMM, Mail Merge with Attachments, or GMass) from the Google Workspace Marketplace.
- Draft your email template in Gmail, using the add-on's specific merge field syntax (e.g.,
{{First Name}}). - Connect the add-on to your Sheet, preview the output, and send.
Google also introduced a native mail merge feature in Gmail (available to certain Google Workspace tiers) that allows basic personalization directly within the Compose window — no add-on required for eligible accounts.
Mail Merge for Email Marketing Platforms
If you're working at scale — thousands of recipients, tracking open rates, managing unsubscribes — dedicated email platforms handle mail merge as a core function rather than an add-on.
Platforms in this category (Mailchimp, Klaviyo, ActiveCampaign, Brevo, and similar tools) use merge tags or personalization tokens in their template editors. The logic is identical: a tag like *|FNAME|* or {{contact.first_name}} gets replaced with the value from your contact database at send time.
These platforms also add capabilities that Word and Gmail don't: conditional content blocks (show different text to different segments), dynamic product recommendations, and A/B testing on personalized content.
Common Variables That Affect Your Mail Merge Experience
Not every mail merge setup works the same way. Several factors shape what approach makes sense:
- Volume: Sending 30 letters is different from sending 30,000 emails. Small batches work fine in Word or basic Gmail add-ons; large batches need dedicated email infrastructure to avoid deliverability issues.
- Data complexity: Simple first-name personalization is easy everywhere. Conditional logic ("if customer purchased X, show Y") typically requires a more capable platform or scripting.
- Output format: Are you generating printed letters, PDFs, or emails? Word excels at print; email platforms handle digital delivery; some tools do both.
- Technical comfort level: A no-code add-on in Google Sheets suits most users. Apps Script or API-based solutions offer more power but require coding knowledge.
- Email deliverability requirements: Sending bulk email through a personal Gmail or Outlook account can trigger spam filters or account limits. High-volume sends typically need a dedicated sending domain and a platform built for it.
The Merge Field Syntax Varies by Platform 🔤
One point of confusion for new users: merge field syntax is not universal. Each platform uses its own format:
- Microsoft Word:
«FirstName» - Mailchimp:
*|FNAME|* - HubSpot:
{{ contact.firstname }} - Many Google add-ons:
{{First Name}} - Salesforce:
{{{FirstName}}}
If you're copying a template between platforms, you'll need to rewrite the merge tags to match the destination tool's syntax.
What Can Go Wrong (and How to Avoid It)
A few failure points come up repeatedly:
- Mismatched column headers: If your spreadsheet column says "First_Name" but your template says
{{FirstName}}, the merge will fail or output blank fields. Keep naming consistent. - Blank fields in your data: If a row is missing a value, that field will merge as empty. Always clean your data before merging.
- Sending limits: Gmail has daily sending caps; Outlook has its own limits depending on your account type. Exceeding them can result in delayed sends or account flags.
- Not previewing first: Always run a preview or send a test to yourself before the full merge goes out. A typo in a merge field sent to 2,000 people is painful to undo.
How the Right Approach Depends on Your Situation
The tools and steps that work well for a small business owner sending monthly client updates look very different from what a marketing team needs for a segmented product launch campaign. The data source format you're working with, the email volume, whether you need tracking and analytics, and your existing software subscriptions all point toward different solutions — and there's meaningful variation in how much setup each one requires.
Understanding the core logic — data source, template, merge fields — means you can evaluate any platform's mail merge feature on its own terms, rather than following a one-size-fits-all workflow that may or may not fit your actual setup.