Sign in
    Shared Email Templates

    Create and start mail merge campaigns in Outlook

    Before you start #

    • In order to protect your security, the add-in will ask you to sign in to your Microsoft account every time you finish creating a campaign and click the Schedule or Send button. This is done this way, so our mail merge service has access to your inbox only from the moment you finish creating a campaign to the second when the campaign messages have been sent.
    • The campaign email messages are sent from the Microsoft account you sign in to when finishing creating a campaign.
    • To create a mail merge campaign, you need to prepare text for the email message and a mailing list. For the email message, you have three options: a simple template, a mail merge template, and your own HTML text.
    • Most probably, your message for the campaign will include merge fields: specific parts of email messages that are set up as variables with the help of the MergeField macro.
    • A mailing list is an Excel table or range that contains email addresses for the campaign and data for the merge fields.
    • In a mail merge campaign, the maximum size limit for an email attachment is 3 MB.
    • Some macros are not supported in templates for mail merge campaigns. Here is the list of unsupported macros.

    Mailing process and campaign statuses #

    Your campaigns may have the following statuses: Sending, Pending, Scheduled, Cancelled, and Finished.

    When you create a campaign, you can schedule it or send it immediately. If a campaign is being sent, it has the Sending status. Campaigns are sent one by one in the order in which you create or schedule them. For example, if you create two campaigns and choose to send both immediately, the second campaign will start mailing only after all emails in the first campaign have been sent. Until then, it will have the Pending status.

    Sending and Pending campaigns can be canceled, but if some messages have already been sent, they can’t be unsent.

    Campaigns scheduled for specific date and time have the Scheduled status. Scheduled campaigns can be edited or deleted.

    When all messages in a campaign have been sent, the campaign gets the Finished status.

    Mail merge template #

    For a mail merge campaign, you can use either a simple template or a mail merge template. Mail merge templates have a ready-made HTML layout and a color theme. You can also import your own HTML-based layout into the message body.

    Mailing list #

    A mailing list is an Excel table or range that contains email addresses of recipients and the information needed to personalize email messages.

    Here is an example of a mailing list:

    An example of a mailing list

    Merge fields #

    Merge fields are variable parts of your template. Their values change depending on the recipient. You create merge fields using the MergeField macro, which retrieves the recipient-specific data directly from the mailing list. You just need to enter the name of the corresponding column in the dialog box that appears when you insert the MergeField macro into your template.

    For example, with the mailing list shown in the screenshot above, you would need to enter discount to retrieve the recipient-specific value from the discount column and insert it into the message.

    The Merge field dialog with a mailing list column name entered

    How to send personalized attachments #

    1. In your mailing list, add a column for the names of the files to be attached. The column header must be Attachments.

    2. In the Attachments column, enter the file names, including extensions.

      A mailing list with a column for attachments
    3. While creating your mail merge campaign, select a OneDrive folder that contains the files to be attached.

      Select the personalized attachments folder.

    How to add multiple To, Cc, and Bcc recipients #

    1. In your mailing list, add columns for additional email addresses, for example To, Cc, or Bcc.

      A mailing list with email addresses for the Bcc field
    2. In the template for your mail merge campaign, use the corresponding option of the Add macro: Add to To, Add to Cc, or Add to Bcc combined with the nested MergeField macro.

      The MergeField macro nested within the Add macro

      To learn more about nested macros, visit this help page.

    Create mail merge templates #

    1. On the Shared Email Templates pane in Outlook, right-click My templates, a team, or a subfolder, and then select New mail merge template from the menu.

    2. In your default browser, a new tab with the Shared Email Templates app will open. Choose a layout and select Next.

      Select a layout.
    3. Choose a color theme and select Finish.

      Select a theme.
    4. Enter your text, insert images, and add hyperlinks.

    5. When you’re finished, select Save.

    Edit mail merge templates #

    A detailed guide to editing mail merge templates is available here.

    Add merge fields #

    In your template, insert the MergeField macro into the places where you want personalized information from the mailing list to appear:

    1. Put the cursor where information from the mailing list is needed, and then select the The Insert macro button Insert macro button on the template editor toolbar.

    2. Select Insert merge field.

    3. In the Merge field dialog, enter the header of the mailing list column that contains the values to be returned, and then select OK.

    4. After adding merge fields, select Save.

      A mail merge template containing merge fields

    Create a mail merge campaign #

    1. In the Shared Email Templates pane in Outlook, go to the Mail merge tab, right-click Mail merge, and select New mail merge campaign.

      The New mail merge campaign option
    2. Fill in the form that will appear:

      1. Enter a name for your campaign. It will be displayed only in the Shared Email Templates UI.
      2. Enter text for the Subject line.
      3. Enter an email address for reply messages (it’s optional).
      4. Import your mailing list.
      5. Define the message body of the emails. You can either select an existing template or use your own HTML. Learn more.
      6. If you want the emails to contain personalized attachments, select a OneDrive folder where the files to attach are stored.
      7. Set a date and time for the campaign to schedule it. Or select Immediately to start mailing right after clicking Send.
      8. Note the maximum number of emails that can be sent per day.
      9. Confirm that you’ve read and understand outbound email limits by selecting the corresponding checkbox.
      10. If you want to save sent messages in your Sent Items folder in Outlook, keep the Save copies to Sent Items checkbox selected.
    3. Select Schedule or Send.

    4. Select the account from which the mailing will be performed and confirm that you accept the required permissions.

    As soon as the campaign is finished, you’ll see a short report showing when the campaign ended and how many email messages were sent.

    Import the mailing list #

    1. When creating a mail merge campaign, under Mailing list, select Import from file.

    2. Select the Excel file that contains your mailing list, and then click Open.

    3. Choose a table or worksheet, and then click Select.

    Define the message body #

    If you want to use one of your shared email templates for a mail merge campaign, under Message body, select Copy from template, and then select the template. To use your own HTML, under Message body, select Use HTML.

    Required permissions #

    To create a mail merge campaign for the first time, the add-in will request permissions.

    Mail merge campaigns statuses #

    ScheduledThe Scheduled campaign iconA Scheduled campaign will start on the specified date and time. It can be edited, moved to another folder or team, or deleted.
    SendingThe Sending campaign iconA Sending campaign is currently being sent. It can be canceled but the messages that have already been sent cannot be unsent.
    PendingThe Pending campaign iconA Pending campaign will start mailing as soon as the current Sending campaign is finished.
    FinishedThe Finished campaign iconA Finished campaign can be moved to another folder or team, or deleted.
    CancelledThe Cancelled campaign iconA Cancelled campaign can be deleted or reactivated. To reactivate the campaign, select it, click Edit, make changes if necessary, and then select Schedule or Send.

    Edit and cancel mail merge campaigns #

    Scheduled #

    If the campaign is scheduled, you can edit it, move it to another folder or team, or delete it.

    Edit, move, or delete a scheduled mail merge campaign.

    Sending or pending #

    If the campaign is being sent or is pending, you can cancel it.

    Cancel a mail merge campaign.

    Unsupported macros #

    Due to technical limitations, the following macros are not supported in templates for mail merge campaigns:

    • Fill
    • Insert (except for mailbox, profile, team, and AAD properties)
    • RegexMatch
    • RegexExtract
    • DisableIf
    • Clear