---
title: "Event invitation email template"
description: "A formal invitation with the date, the place and one-click replies to accept or decline. Send it a few weeks before a dinner, an opening or a launch."
url: "https://nextmail.sh/email-templates/event-invitation"
---

[Templates](https://nextmail.sh/email-templates.md)[Events](https://nextmail.sh/email-templates.md#events)

# Event invitation email template

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

[Use this template](https://nextmail.sh/mail/templates?starter=event-invitation) [Use this template](https://nextmail.sh/signup.md?next=%2Fmail%2Ftemplates%3Fstarter%3Devent-invitation)[Customize with AI](https://nextmail.sh/email-templates/generate.md?starter=event-invitation)

- **From**
  Northwind <hello@example.com>
- **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](https://nextmail.sh/email-templates/previews/event-invitation-desktop.webp?v=fa1f1022665c)

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.

| Placeholder | Kind | Required | Default |
| --- | --- | --- | --- |
| `{{hostName}}` | Text | Required | None |
| `{{eventName}}` | Text | Required | None |
| `{{eventDate}}` | Text | Required | None |
| `{{eventTime}}` | Text | Required | None |
| `{{venueName}}` | Text | Required | None |
| `{{venueAddress}}` | Text | Required | None |
| `{{dressCode}}` | Text | Optional | Smart casual |
| `{{acceptUrl}}` | Link | Required | None |
| `{{declineUrl}}` | Link | Required | None |
| `{{replyBy}}` | Text | Required | None |
| `{{unsubscribeUrl}}` | Link | Optional | None |

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 <hello@example.com>',  to: 'maya@example.com',  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](https://nextmail.sh/email-templates/previews/save-the-date-desktop.webp?v=5ec31acd4336)

### 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](https://nextmail.sh/email-templates/previews/rsvp-confirmed-desktop.webp?v=0bb6c75f68c3)

### 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](https://nextmail.sh/email-templates/previews/event-reminder-desktop.webp?v=e4e70bb62530)

### 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](https://nextmail.sh/email-templates/previews/invitation-request-received-desktop.webp?v=dd74955e3deb)

### 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.

[Open mail](https://nextmail.sh/mail/inbox) [Get Started](https://nextmail.sh/signup.md)[How templates work](https://nextmail.sh/features/templates.md)
