Skip to main content

Email templates

Rentstuff sends emails on behalf of your company: the quote, the order confirmation, the packing slip, the invoice, the credit note, and the notice to a colleague who gets a delivery or pickup assigned. You change the text of each email under More → Settings → Email templates.

Quick Overview​

  • For each template you edit the subject and the body of the email.
  • You edit the body with a formatting toolbar (tab Opmaak, "formatting") or directly as HTML (tab HTML).
  • Variabele invoegen ("insert variable") puts order or invoice data into the email, for example the customer's name.
  • Voorwaarde invoegen ("insert condition") shows a piece of text only when something is true, for example only when the goods are shipped.
  • The preview shows the complete email, with your logo and colours, while you type. You don't have to save first.
  • If the template contains an error, it is shown above the editor, and you can only save once it is fixed.
  • The Actief ("active") switch turns your own text on or off. When it is off, the customer gets Rentstuff's default text.

Sender and Replies​

The quote, the order confirmation, the packing slip, the invoice and the credit note reach the customer with your company name as the sender, for example Demo Verhuur BV. The sender address itself is Rentstuff's fixed address. When the customer replies, the reply goes to the email address in Company settings. So fill in that address; without it, a reply goes nowhere.

The email to a colleague who gets a delivery or pickup assigned, and the emails about logging in and invitations, simply come from Rentstuff.

Template On or Off​

Below the subject is the Actief ("active") switch, with the explanation "Uit: de standaardtekst van Rentstuff wordt verstuurd" ("off: Rentstuff's default text is sent"). When you turn it off, Rentstuff sends the default text instead of yours. Your own text is kept; turn the switch back on to use it.

When the template is off, the preview shows the default text, with the notice "Dit sjabloon staat uit — de klant krijgt de standaardtekst." ("this template is off — the customer gets the default text") above it. The preview follows the switch right away, even before you save.

The editor​

Formatting tab​

The toolbar only has buttons for formatting that works well in every email client:

ButtonWhat it does
B, I, UBold, italic, underline (also Ctrl+B, Ctrl+I, Ctrl+U)
H2, H3Heading and subheading
Bulleted list, numbered listA list with bullets or numbers
LinkTurns the selected text into a link. www.example.com automatically becomes https://www.example.com; an email address becomes a mailto: link.
Clear formattingRemoves bold, italic, heading and list from the selection

Alignment, colours and fonts are left out on purpose. They don't work in many email clients, or not the way you expect. The colours of the email come from your house style (see House style); the font is the same in all emails.

Formatting always applies to a whole variable or tag. If you select part of {{customer_name}} and click Bold, the whole {{customer_name}} becomes bold. Otherwise Rentstuff would no longer recognise the variable when sending.

HTML tab​

Here you see and edit the HTML of the email. Switching between the formatting tab and HTML doesn't change the content. Only when you actually change something in the formatting tab is the HTML rebuilt, with each paragraph on its own line.

Formatting the toolbar can't edit

Does the HTML contain something the toolbar can't keep, such as a table, inline styles (style="…"), a <div>, an image or an HTML comment? Then you can only edit that template in the HTML tab. You'll see the message "Dit sjabloon bevat opmaak die de opmaakbalk niet kan bewerken. Bewerk het in het tabblad HTML." ("This template contains formatting the toolbar can't edit. Edit it in the HTML tab."), with what was found. Rentstuff never silently throws HTML away. If you remove that formatting yourself, the formatting tab works again.

Variables​

A variable sits between double curly braces, for example {{customer_name}}. When sending, Rentstuff replaces it with the real data. In the preview, {{customer_name}} becomes "Jan de Vries".

Click Variabele invoegen and pick the variable from the list. Each variable comes with a description. The variable goes where the cursor is: in the body, and also in the subject (the small button next to the subject field). The list only shows variables that are available in this particular template.

EmailMain variables
Quote, order confirmation, packing slipcompany_name, customer_name, order_number, contact_person, delivery_method, delivery_label, is_pickup, is_delivery, is_shipping, delivery_address, rental_period_start, rental_period_end, order_total; the quote also has quote_valid_until and approval_url
Invoice, credit notecompany_name, customer_name, invoice_number, invoice_total, invoice_due_date, order_number, rental_period_start, rental_period_end
Logistics assigned (to a colleague)company_name, assignee_name, order_number, direction_label, customer_name, appointment, address, contact, notes

approval_url only appears in the quote email: the link that lets the customer view the quote online and approve it without an account, see Accepting a Quote. Remove that link from the text and Rentstuff puts the Offerte bekijken en accorderen ("view quote and approve") button below your text. So every quote email has the link, even without approval_url.

Conditions​

A condition shows a piece of text only when something is true. Click Voorwaarde invoegen and choose when the text should appear. Rentstuff then puts a complete block where the cursor is:

{{#if is_shipping}}tekst{{/if}}

The word "tekst" ("text") is already selected, so you can type your own sentence straight away.

Example 1: only when the goods are shipped

{{#if is_shipping}}We versturen de spullen naar {{delivery_address}}.{{/if}}

Example 2: pickup, and otherwise a different sentence

{{#if delivery_method == 'pickup'}}Je kunt de spullen bij ons ophalen.{{else}}We brengen de spullen naar je toe.{{/if}}

How it works:

  • {{#if name}} is true when the variable has a value. Empty text doesn't count as a value, and neither does "no" for a yes/no variable such as is_shipping.
  • {{#if name == 'value'}} and {{#if name != 'value'}} compare with a fixed value, in single quotes. delivery_method has the values pickup, delivery and shipping.
  • {{else}} is optional: the text after it appears when the condition is not true.
  • Every block ends with {{/if}}. A block may sit inside another block, but no more than two levels deep.
  • Write #if, else and /if directly after {{, without a space.
  • A condition can sit in the middle of a sentence, or on its own line. A line with only a condition doesn't leave an empty line in the email.

Checks and errors​

Rentstuff checks the template while you type, and again when you save. Errors are shown above the editor, with the line and position in the HTML tab. For example: "Tekst, regel 4, positie 1: {{#if is_shipping}} wordt niet afgesloten met {{/if}}." ("Body, line 4, position 1: … is not closed with …"). As long as there are errors, you can't save.

Examples of errors:

  • a block without {{/if}}, or an {{else}} or {{/if}} without a start;
  • a variable that doesn't exist in this template, such as a typo in the name;
  • a {{ without }};
  • a comparison with a value that doesn't exist, such as delivery_method == 'post'.

The subject can be at most 255 characters, the body at most 64 KB. When there are very many errors, Rentstuff shows the first 50 and, below them, how many more there are.

Preview​

Next to the editor (below it on a phone) you see the email as the customer receives it: with logo, colours, the text and your company details at the bottom. The preview uses the text as it is in the editor right now, even if you haven't saved yet. It updates as soon as you pause typing.

The preview uses sample data: customer Jan de Vries, order 2026-0042, shipping to Kerkstraat 1 in Utrecht. For the quote, the order confirmation and the packing slip you can choose Voorbeeld als: Verzenden · Bezorgen · Ophalen ("preview as: shipping · delivery · pickup") above the preview. That way you see straight away which text the customer gets for each delivery method, for example that the shipping sentence disappears for pickup. Pickup has no delivery address. The Tekstversie ("text version") tab shows the plain-text part of the email. Rentstuff creates it automatically from the HTML, for email clients that don't show formatting.

House style: logo and colours​

The logo and colours of the email come from Settings → Documents & branding. Rentstuff uses the settings of the document that belongs to the email:

EmailSettings of
Quote, order confirmation, logistics assignedQuote
Invoice, credit noteInvoice
Packing slipPacking slip

The header background and text colours become the colour bar at the top of the email. If Show logo is on, your company logo sits in that bar; otherwise your company name does. At the bottom of the email are your company details from Company settings.

The logo only appears in the email under these conditions. Otherwise your company name sits in the bar:

  • No SVG. Many email clients don't show SVG images, so an SVG logo becomes your company name in the email. Use a PNG or JPG for email. Rentstuff converts a WebP logo to PNG itself.
  • Sending through a mail server (SMTP). The logo is embedded in the email as an image. That only works when Rentstuff sends the email through an SMTP server. When the email is sent through a mail API without embedded images, your company name sits in the bar.

The preview in the editor always shows the logo.

Restore default text​

Standaardtekst herstellen ("restore default text") below the editor puts the subject and body back to Rentstuff's default version. Your own text is lost.