TemplatesEvents

Event invitation email template

A formal invitation with the date, the place and one-click replies to accept or decline.

From
Northwind <[email protected]>
Subject
You are invited: Autumn Gallery Night
Preview text
Northwind Studio would love you to join them on Friday 14 November
Preview of the Event invitation template
event-invitation.txt
{{hostName}} would love you to join them on {{eventDate}}

{{hostName}}

{{eventName}}

{{hostName}} would love you to join them. Here is everything you need, and one click to let them know.

When

{{eventDate}}, {{eventTime}}

Where

{{venueName}}, {{venueAddress}}

Dress

{{dressCode}}

I will be there [{{acceptUrl}}]

I cannot make it [{{declineUrl}}]

Please reply by {{replyBy}} so {{hostName}} can plan. You can change your answer from the same links later.

You are receiving this because {{hostName}} invited you.

Shown with sample values. The HTML and plain-text tabs keep the placeholders.

About

When to send it

Send it a few weeks before a dinner, an opening or a launch. It names the host, sets out when and where with a dress code, and gives guests two links to answer in one click. A reply-by date tells them when you need to know.

11 values to fill

What each send fills in

Required values have to come with every send. The rest fall back to the default shown here.

PlaceholderKindRequiredDefault
{{hostName}}TextRequiredNone
{{eventName}}TextRequiredNone
{{eventDate}}TextRequiredNone
{{eventTime}}TextRequiredNone
{{venueName}}TextRequiredNone
{{venueAddress}}TextRequiredNone
{{dressCode}}TextOptionalSmart casual
{{acceptUrl}}LinkRequiredNone
{{declineUrl}}LinkRequiredNone
{{replyBy}}TextRequiredNone
{{unsubscribeUrl}}LinkOptionalNone

API

Send it from your code

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: 'Event invitation',  slug: 'event-invitation',  starter: 'event-invitation',  publish: true,}) const sent = await nextmail.templates.send('event-invitation', {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    hostName: 'Northwind Studio',    eventName: 'Autumn Gallery Night',    eventDate: 'Friday 14 November',    eventTime: '7:00 pm',    venueName: 'The Glasshouse',    venueAddress: '12 Canal Street, Amsterdam',    acceptUrl: 'https://example.com/rsvp/yes',    declineUrl: 'https://example.com/rsvp/no',    replyBy: 'Friday 7 November',  },}) console.log(sent.id, sent.status)

Events

More templates like this

Preview of the Save the date template

Save the date

An early notice that puts the date first and lets guests add it to their calendar.

6 styles
Preview of the RSVP confirmed template

RSVP confirmed

Confirms a guest's reply with their answer, the number of guests and a link to change it.

6 styles
Preview of the Event reminder template

Event reminder

A reminder before the day with the time, the place and directions to the venue.

6 styles
Preview of the Invitation request received template

Invitation request received

Confirms a request for an invitation and says when the answer will arrive.

6 styles

Start from one

Pick a design, change anything,
and send it from your code.

Every template opens in the editor as blocks you can move, restyle or delete, and sends through the API with the values filled in.