Skip to content

Personalization and placeholders

A placeholder is a column name wrapped in double braces. Mailvern replaces it with that row's value.

4 min read

Placeholder syntax

Message body
Hi {{name}},

Your invoice {{invoice}} for {{company}} is due.

Thanks from the team in {{city}}.

The text inside the braces must match your column header. Matching is not case sensitive, but spelling and spacing should match.

A worked example

namecompanyinvoice
JohnGoogleINV-1042
AishaNorthwindINV-1043
Template
Subject: {{company}} — invoice {{invoice}}

Hello {{name}}, thanks for your order.
Email received by John
Subject: Google — invoice INV-1042

Hello John, thanks for your order.

Where placeholders work

  • Subject line
  • Message body
  • Inside link URLs, for example a personalized payment link
  • Sender name

Common mistakes

  • A typo in the column name — the placeholder is then sent as literal text.
  • Single braces instead of double braces.
  • A merged header cell, which makes the column name ambiguous.
  • Trailing spaces in the header row.

Related guides

Popular articles