
Event invitation
A formal invitation with the date, the place and one-click replies to accept or decline.
6 stylesSays yes to a request for an invitation and sends a personal access code.

Here is your personal access code. Please confirm by {{confirmBy}}.
{{hostName}}
There is a place for you
Your request to join {{eventName}} has been approved. Confirm your place by {{confirmBy}} with the personal access code below.
{{accessCode}}
{{eventMonth}}
{{eventDay}}
{{eventName}}
{{eventTime}}, {{venueName}}
Confirm your place [{{confirmUrl}}]
The code works once and only for you, so please do not share it. A place not confirmed by {{confirmBy}} goes to the next person waiting.
You are receiving this because you asked {{hostName}} for an invitation.Shown with sample values. The HTML and plain-text tabs keep the placeholders.
About
Send it when you approve a request and want the guest to confirm with a code that only works for them. It holds the code, the date and the venue, a confirm button and the deadline after which the place goes to someone else.
10 values to fill
Required values have to come with every send. The rest fall back to the default shown here.
| Placeholder | Kind | Required | Default |
|---|---|---|---|
{{hostName}} | Text | Required | None |
{{eventName}} | Text | Required | None |
{{eventMonth}} | Text | Required | None |
{{eventDay}} | Text | Required | None |
{{eventTime}} | Text | Required | None |
{{venueName}} | Text | Required | None |
{{accessCode}} | Text | Required | None |
{{confirmUrl}} | Link | Required | None |
{{confirmBy}} | Text | 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: 'Invitation request approved', slug: 'invitation-request-approved', starter: 'invitation-request-approved', publish: true,}) const sent = await nextmail.templates.send('invitation-request-approved', { from: 'Northwind <[email protected]>', to: '[email protected]', props: { hostName: 'Lumen Studio', eventName: 'Winter Preview Night', eventMonth: 'Dec', eventDay: '3', eventTime: '7:00 pm', venueName: 'Lumen Studio, Glasgow', accessCode: 'LUM-4821', confirmUrl: 'https://example.com/lumen/winter-preview/confirm', confirmBy: 'Friday 20 November', },}) console.log(sent.id, sent.status)Events

A formal invitation with the date, the place and one-click replies to accept or decline.
6 styles
An early notice that puts the date first and lets guests add it to their calendar.
6 styles
Confirms a guest's reply with their answer, the number of guests and a link to change it.
6 styles
A reminder before the day with the time, the place and directions to the venue.
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.