---
title: "Notification email template"
description: "The plain one: a headline, a line of detail, an optional quote and a link."
url: "https://openemail.uk/templates/notification"
---

[Templates](https://openemail.uk/templates.md)[Notifications](https://openemail.uk/templates.md#notify)

# Notification email template

The plain one: a headline, a line of detail, an optional quote and a link.

[Use this template](https://openemail.uk/mail/templates?starter=notification) [Use this template](https://openemail.uk/signup.md?next=%2Fmail%2Ftemplates%3Fstarter%3Dnotification)[All templates](https://openemail.uk/templates.md) 7 values to fill Plain-text part included

- **From**
  Northwind <hello@example.com>
- **Subject**
  Jonas commented on the launch plan
- **Preview text**
  Jonas commented on the launch plan

![Preview of the Notification template](https://openemail.uk/email-templates/previews/notification-desktop.webp?v=41d67c4224dd)

notification.txt

```
{{headline}}

{{headline}}

{{body}}

{{quoteAuthor}}

{{quoteBody}}

{{actionLabel}} [{{actionUrl}}]

{{footerNote}}
```

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

About

## When to send it

A general notice for comments, mentions, status changes and anything else that needs a headline and one action. The quote block is optional, and the button label is yours to set.

Values

## 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 |
| --- | --- | --- | --- |
| `{{headline}}` | Text | Required | None |
| `{{body}}` | Text | Required | None |
| `{{quoteAuthor}}` | Text | Optional | None |
| `{{quoteBody}}` | Text | Optional | None |
| `{{actionLabel}}` | Text | Optional | Open |
| `{{actionUrl}}` | Link | Required | None |
| `{{footerNote}}` | Text | Optional | You are receiving this because of your notification settings. |

API

## Send it from your code

Create a template from this design once, then send it with the values for each message.

send-notification.ts

```
import { init, openemail } from '@openemail/sdk' init({ apiKey: process.env.OPENEMAIL_API_KEY }) const template = await openemail.templates.create({  name: 'Notification',  starter: 'notification',  publish: true,}) const sent = await openemail.templates.send(template.slug, {  from: 'Northwind <hello@example.com>',  to: 'maya@example.com',  props: {    headline: 'Jonas commented on the launch plan',    body: 'He left a note on the pricing section and asked for a second pair of eyes before Friday.',    quoteAuthor: 'Jonas Weber',    quoteBody: 'Can we test the annual price before we commit to it?',    actionUrl: 'https://example.com/docs/launch-plan',  },}) console.log(sent.id, sent.status)
```

Notifications

## More templates like this

![Preview of the Digest template](https://openemail.uk/email-templates/previews/digest-card.webp?v=3205ec91f55e)

### Digest

A periodic summary of three items, with one link at the end.

![Preview of the Booking confirmed template](https://openemail.uk/email-templates/previews/booking-confirmed-card.webp?v=71decaf3d4ed)

### Booking confirmed

An appointment confirmation with the time zone spelled out and a link to reschedule.

![Preview of the Feedback request template](https://openemail.uk/email-templates/previews/feedback-request-card.webp?v=52785b44a32d)

### Feedback request

Asks about one named order or conversation, and only once.

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://openemail.uk/mail/inbox) [Get Started](https://openemail.uk/signup.md)[How templates work](https://openemail.uk/features/templates.md)
