Email Templates

Customize the system emails your course sends — from booking confirmations to post-round follow-ups.

The Template Editor

Every venue organization gets a set of system email templates. Customize each one from the Email Templates page at /dashboard/[orgId]/email-templates. The editor lets you change the subject line and body while preserving the dynamic variables that personalize each email.

Navigate to your org dashboard and find "Email Templates" in the sidebar. Each template is listed with its current subject line and a preview of the body.

Venue-Specific Templates

As a venue operator, your templates cover the full guest journey — from the moment someone books a tee time through their post-round follow-up. Key templates include:

Tee Time & Booking

Booking Confirmation
Sent immediately when a tee time is booked. Includes date, time, course, and group details. This is the first touchpoint — make sure it includes directions, dress code, or any arrival instructions.
Booking Reminder
Sent before the tee time (configurable hours in advance). Reminds players of their upcoming round and gives them a chance to cancel or modify.

Post-Round & Retention

Post-Round Thank You
Sent after a player's round. Include a feedback link, a promo code for their next visit, or a link to view their digital scorecard. High-engagement email — players who just played are your warmest audience.
Welcome New Contact
Sent when a new contact enters your database from any source. Introduce your course, highlight upcoming events, or offer a first-time booking incentive.

Alerts & Operations

Weather Alert
Sent when weather conditions may affect play. Customize the tone and include instructions — whether to call the pro shop, check the website, or expect a follow-up.
Tip
The Post-Round Thank You template is your highest-conversion email. Customize it with a booking link and a compelling reason to come back — a discount, upcoming event, or loyalty perk.

How Overrides Work

tplgolf provides system default templates for every email type. When you customize a template, your changes are saved as an org-level override that layers on top of the system default. The system default is always there as a fallback — if you revert, you get back to the original.

This means you can safely experiment with copy and formatting. If a customization doesn't perform well, revert to the default and try again.

Using Variables

Templates use double-curly-brace placeholders that get replaced with real data when the email is sent:

  • {{playerName}} — the recipient's display name
  • {{courseName}} — the course being played
  • {{teeTime}} — the formatted tee time
  • {{bookingDate}} — the date of the booking
  • {{scorecardUrl}} — link to the player's digital scorecard
  • {{bookingUrl}} — link to book another tee time

Each template shows its available variables in the editor sidebar. Only use variables listed for that specific template — other placeholders will render as empty text.

Warning
Don't remove or rename variables in the template body. The system needs the exact {{variableName}} syntax to replace them. Adding extra curly braces or spaces inside the braces will break the replacement.

The Rich-Text Editor

The template body uses a Tiptap-powered rich-text editor. You can:

  • Format text with bold, italic, and underline
  • Add headings, lists, and links
  • Insert variable placeholders from the toolbar
  • Rearrange content by dragging blocks

Previewing Templates

Before saving changes, use the preview pane to see how the email will look with sample data filled in. The preview replaces all variables with realistic placeholder values so you can check formatting and readability.

Reverting to Defaults

Every template has a "Revert to Default" option that restores the original system template. This replaces the subject and body entirely — your customizations are not recoverable after reverting.

Note
Always preview after editing. It's easy to accidentally delete a variable or break the layout. The preview catches issues before real emails go out.