
Check-in open
A check-in notice with the booking reference, the flight, the bag allowance and the deadline.
6 stylesEvery leg of a trip in date order, with the times and references travellers need.

{{tripDates}}, booking {{bookingReference}}. Every leg of your trip in one place.
{{companyName}}
Booking {{bookingReference}}
Your trip to {{destination}}
Here is your trip from start to finish, {{tripDates}}. Each leg lists the times and references you may be asked for on the way.
01
{{leg1Date}}: {{leg1Title}}
{{leg1Detail}}
02
{{leg2Date}}: {{leg2Title}}
{{leg2Detail}}
03
{{leg3Date}}: {{leg3Title}}
{{leg3Detail}}
04
{{leg4Date}}: {{leg4Title}}
{{leg4Detail}}
View your trip [{{tripUrl}}]
All times are local. If anything changes, we will email you and update your trip page.
You are receiving this because you booked a trip with {{companyName}}.Shown with sample values. The HTML and plain-text tabs keep the placeholders.
About
Send it once a trip is booked, and again whenever it changes. Four numbered legs take the traveller from the journey out to the way home, each with its date and details, and a button opens the live trip page.
18 values to fill
Required values have to come with every send. The rest fall back to the default shown here.
| Placeholder | Kind | Required | Default |
|---|---|---|---|
{{companyName}} | Text | Required | None |
{{bookingReference}} | Text | Required | None |
{{destination}} | Text | Required | None |
{{tripDates}} | Text | Required | None |
{{leg1Date}} | Text | Required | None |
{{leg1Title}} | Text | Required | None |
{{leg1Detail}} | Text | Required | None |
{{leg2Date}} | Text | Required | None |
{{leg2Title}} | Text | Required | None |
{{leg2Detail}} | Text | Required | None |
{{leg3Date}} | Text | Required | None |
{{leg3Title}} | Text | Required | None |
{{leg3Detail}} | Text | Required | None |
{{leg4Date}} | Text | Required | None |
{{leg4Title}} | Text | Required | None |
{{leg4Detail}} | Text | Required | None |
{{tripUrl}} | Link | Required | None |
{{unsubscribeUrl}} | Link | Optional | None |
API
Create a template from this design once, then send it with the values for each message.
import { init, nextmail } from '@nextmail/sdk' init({ apiKey: process.env.NEXTMAIL_API_KEY }) await nextmail.templates.create({ name: 'Trip itinerary', slug: 'trip-itinerary', starter: 'trip-itinerary', publish: true,}) const sent = await nextmail.templates.send('trip-itinerary', { from: 'Northwind <[email protected]>', to: '[email protected]', props: { companyName: 'Fernway Travel', bookingReference: 'FW-58213', destination: 'Lisbon', tripDates: '13 to 16 November', leg1Date: 'Fri 13 Nov', leg1Title: 'Flight to Lisbon', leg1Detail: 'Larkspur Air LK 412 from London Gatwick, North Terminal. Departs 07:25, lands 10:05.', leg2Date: 'Fri 13 Nov', leg2Title: 'Check in at Casa Ribeira', leg2Detail: 'In Alfama, ten minutes from the castle. Rooms are ready from 15:00. Three nights, breakfast included.', leg3Date: 'Sat 14 Nov', leg3Title: 'Day trip to Sintra', leg3Detail: 'Your guide meets you in the hotel lobby at 09:00 and brings you back by 17:30.', leg4Date: 'Mon 16 Nov', leg4Title: 'Flight home', leg4Detail: 'Larkspur Air LK 413 from Lisbon, Terminal 1. Departs 11:05, lands 13:50.', tripUrl: 'https://example.com/trips/FW-58213', },}) console.log(sent.id, sent.status)Travel

A check-in notice with the booking reference, the flight, the bag allowance and the deadline.
6 styles
A schedule change with the original and new times, and a choice to accept or change.
6 styles
A pre-departure reminder with the departure in a date tile and a documents checklist.
6 styles
Confirms an application arrived, with a status track and what happens next.
6 stylesStart from one
Every template opens in the editor as blocks you can move, restyle or delete, and sends through the API with the values filled in.
Fifteen minutes on video with the people who build Nextmail. Free, at a time you choose.