Advanced
Default Boathouse email templates for Postmark
On the Emails page (after you've connected Postmark) you will see a button called "Add Default Templates in Postmark".
Clicking the button will add any missing templates to your Postmark account. It will not modify any existing templates in case you have customized them. If you do want to reset a template back to the original, simply delete it from your Postmark account and then click the button again.
If no missing templates are detected then no button will be shown.
Template values
Boathouse automatically replaces some values with settings from your portal configuration (in red). Other values (in yellow) are template specific and can be seen on the individual feature pages linked to below next to each template.
The replacements are made using a template model that we pass to Postmark. The default values passed to each email include:
{
// These values are from your portal configuratio page
"ProductName": "Boathouse",
"CompanyName": "Sol Inventum OÜ",
"CompanyAddress": "Sepapaja 6, Tallinn, Estonia",
"ProductUrl": "https://www.boathouse.co",
// A signed link leading users to their customer portal
// This link is valid for 1 hour after the email is set
// but once expired will prompt the customer to enter
// their email to get a new link
"PortalUrl": "https://billing.yourproduct.com/",
// Information about the customer from Paddle
"CustomerID": "ctm_123",
"Name": null,
"Email": "[email protected]",
"Locale": "en",
// This is always the current year for the email footer
"Year": 2023,
// If the email relates to a subscription the following fields are added:
// (Month names are localized based on customer locale)
"SubscriptionID": "sub_xxx",
"NextBilledAt": "2/23/2025",
"NextBilledAtLong": "February 23, 2025",
"NextBilledAtYear": 2025,
"NextBilledAtMonth": 2,
"NextBilledAtDay": 23,
"FirstBilledAt": "2/23/2024",
"FirstBilledAtLong": "February 23, 2024",
"FirstBilledYear": 2024,
"FirstBilledMonth": 2,
"FirstBilledDay": "2024-02-23T00:00:00Z",
// Links directly to the update and cancel screens Paddle provides
"UpdatePaymentUrl": "https://buyer-portal.paddle.com/...",
"CancelUrl": "https://buyer-portal.paddle.com/...",
// If there has been at least one payment the following fields are added:
// (Month names are localized based on customer locale)
"PaymentMethod": "card", // Any of Paddle supported payment types
"PaymentMethodTitled": "Paypal", // Titled based on customer's locale
// If payment type is card the following fields are added:
"PaymentMethodCardLast4": "1234",
"PaymentMethodCardExpiresAt": "01/2025",
"PaymentMethodCardExpiresAtLong": "January, 2025",
"PaymentMethodCardExpiresAtYear": 2025,
"PaymentMethodCardExpiresAtMonth": 1
// For legacy reasons these are also added:
"ExpiresAt": "01/2025",
"ExpiresAtLong": "January, 2025",
"ExpiresAtYear": 2025,
"ExpiresAtMonth": 1,
// The default Postmark Layout uses this style of property names,
// therefore we pass the same values as above again in this format
// in case you are using those instead of our templates.
"product_name": "Boathouse",
"company_name": "Sol Inventum OÜ",
"company_address": "Sepapaja 6, Tallinn, Estonia",
"product_url": "https://www.boathouse.co",
}
List of Boathouse email templates
Alias | Used for |
---|---|
boathouse-layout | The base layout for all template emails which displays information about your product and company from the portal configuration page. |
boathouse-renewal | Used to send subscription renewal reminders |
boathouse-invoice-copy | Used to send the invoice copies to the billing email address |