← Learn

Merge Tags Without the Embarrassment

Why "Hi [first_name]" and "Hi ," happen, the audience-wide key trick that prevents raw tags, and how to test personalisation against your worst record.

Two different bugs, one bad impression

Everyone has received an email beginning "Hi [first_name]" or "Hi ,". They look like the same mistake but they are not. The first means the tag was never replaced at all. The second means it was replaced with an empty value and the sentence was not written to survive that.

Fixing personalisation properly means handling both: never leave a raw tag in the output, and never let a missing value break the grammar.

Standard tags and custom fields

  • Standard: [first_name], [last_name], [email] — present on almost every contact record.
  • Custom: anything you store per contact, such as [job_title], [company], [plan] or [city].
  • Custom fields are where the value is — and where the gaps are, because you rarely have them for everyone.
  • In BazukaMail, custom fields you add to contacts become merge tags automatically in both subject and body.

The audience-wide key trick

Here is the failure mode most systems miss. If you only replace the tags a contact happens to have, then a contact missing job_title keeps the literal text [job_title] in their email — because the replacement loop never visited that key.

The fix is to compute the union of custom keys used across the whole audience first, then for each contact blank out any of those keys they lack. Now no recipient ever sees a raw tag, regardless of how patchy their record is. That is what BazukaMail does at send time.

Write sentences that survive an empty value

Blanking a tag prevents "[job_title]" but can still produce "As a , you probably…". The real fix is copy that reads naturally either way.

Prefer "Quick question about your email setup" over "Quick question for a [job_title]". Or put the personalisation somewhere optional — a first line that works with or without a name — rather than inside a grammatical joint.

Subject lines are the risky place

A broken tag in the body is embarrassing after the open. A broken tag in the subject line is visible in the inbox list before anyone opens, and it reads as spam. If you personalise the subject, test it against your emptiest record specifically, and keep a version that works with no data at all.

Test against your worst contact, not your best

  • Find the record with the fewest populated fields and send yourself a test using it.
  • Check subject line and preheader as well as the body.
  • Look for orphaned punctuation: "Hi ,", "Dear ,", "at .", double spaces.
  • Check any conditional block renders sensibly when its field is missing.
  • Only then send to the segment.

Don't over-personalise

Relevance is welcome; surveillance is not. "Loved your talk at the conference" is relevant. Referencing something the person did not tell you feels invasive and gets complaints. Use data they gave you, for a reason they would recognise.

How BazukaMail handles it

Custom contact fields become merge tags in subject and body. At send time the system computes the union of custom keys across the selected audience and blanks any key a given contact is missing, so raw tags never reach an inbox. A test send lets you check the result before the campaign goes out.

FAQs

What happens if a contact has no first name?

A well-built system replaces the tag with an empty value rather than leaving it raw — but your copy must still read naturally. Write greetings that work without a name.

Can I use custom fields in the subject line?

Yes, and it can lift engagement — but it is the highest-risk place for a broken tag. Always test against your emptiest contact record.

How do I test personalisation properly?

Send a test using the contact with the least data, and check subject, preheader and body for raw tags and orphaned punctuation.

Does personalisation actually improve results?

Relevance does. A first name alone is table stakes; segmenting by behaviour or role and writing to that is what moves conversions.