← Blog

Email each guest their own QR code

2 December 2026

Sometimes the code doesn't need printing at all. Each guest gets their ticket by email and shows it on their phone at the door, or each customer gets a code for their own order. A mail merge sends one email per row of a spreadsheet, and BulkQR gives you that spreadsheet.

Every BulkQR download of PNG or SVG images includes _merge.csv: one row per code, your other columns, and an @image column naming each code's file. Mail merge QR codes explains what's in it.

There's one catch with email. Your codes are image files on your computer, and email tools can only attach a different file to each person if it's in cloud storage they can read. In Gmail, that means Google Drive.

Get your list ready

Does it need to be an image?

The data column holds what each code points to, so a merge field can put the link itself in the email. On the phone that opens the email, a tap beats a scan, and every email tool can do it. Send the image when someone else will scan it, such as door staff checking tickets.

Gmail with Mail Merge with Attachments

Mail Merge with Attachments is a Google Sheets add-on that sends from your Gmail. It looks each file up by its exact name in Google Drive, so every row gets its own code.

  1. Upload the unzipped folder to the top level of My Drive (not a shared drive).

  2. Open _merge.csv in Google Sheets (File › Import).

  3. Add a column headed File Attachments, and fill it with each file's path in Drive. If the folder is called qrcodes and @image is column H:

    =IF(H2="", "", "qrcodes/"&H2)
    
  4. Write your email in Gmail as a draft, with the add-on's markers where each person's details go.

  5. Send yourself a test, scan the code, then send the rest.

If a file can't be found, the add-on skips that row rather than sending it without its code. Check its plans for daily limits.

Gmail with YAMM

YAMM (Yet Another Mail Merge) is another add-on. Rather than paths, it matches each row to a file in a Drive folder by an ID in the file's name:

  1. Upload the unzipped folder to Google Drive.
  2. Open _merge.csv in Google Sheets.
  3. Write your email in Gmail as a draft, with markers such as {{Name}} where each person's details go.
  4. In Sheets, choose Extensions › Yet Another Mail Merge: Mail Merge for Gmail › Start Mail Merge, then + Alias, filters, personalized attachments.
  5. Choose Import from Drive folder and select your folder (select it, don't open it).
  6. Match on the filename column, which holds each code's file name. YAMM adds an Attachment column of links and an Attachment name column.
  7. Check the Attachment name column before you send. Every row should name exactly one file, its own.
  8. Send a test email to yourself, scan the code, then send the rest.

YAMM matches every file whose name takes in the ID, so ticket-1 would also match ticket-10.png. That's why the names should all be the same length, and why step 7 matters.

YAMM's daily limits depend on your plan. The free plan sends to 20 people a day. Paid plans send to 400 a day from a @gmail.com address, or 100 with personalised attachments, and to 1,500 a day from an established Google Workspace account. Each email can carry up to 25 MB of attachments, far more than a QR code needs.

Can the code go in the email body?

A picture in the body needs a link to each image, not a file name. YAMM wants a web address and advises against Drive for it. Mail Merge with Attachments can show a picture from a Drive link, but that means copying a link for every file by hand. Attaching the files is simpler.

Gmail's own mail merge

Gmail's built-in mail merge, on most paid Google Workspace plans, fills in text from a Google Sheet. An attachment goes to everyone, though: the same file in every copy. Use it to send each person their link, from the data column, and use an add-on for images. It sends up to 1,500 emails a day, counting your ordinary mail.

Outlook

Word's mail merge sends each person a personalised email through Outlook, but Microsoft's own instructions say it can't add attachments. Use it to send each person their link and details. If they need the image itself, a Gmail add-on is the easier route.

Before you send

More in this series

Got a guest list? Generate your codes and send them out.