
Product announcement
Release notes with a cover image, a lead paragraph and three numbered changes.
A personal note from a founder, with a logo, a greeting, one message and one call to action.

{{headline}}
Hello, I'm {{senderName}} 👋
{{senderRole}}
Hi {{name}},
{{message}}
{{actionLabel}} [{{actionUrl}}]
Thanks for reading,
{{senderName}}
{{senderAddress}}
Unsubscribe [{{unsubscribeUrl}}]Shown with sample values. The HTML and plain-text tabs keep the placeholders.
About
Send it for news that should come from a person rather than a team. It opens with the sender's name and role, greets the reader by name, carries one message and one button, and ends with a postal address and an unsubscribe link.
Values
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 |
{{logo}} | Image | Optional | https://placehold.co/160x160/09090B/FAFAFA/png?text=Logo |
{{senderName}} | Text | Required | None |
{{senderRole}} | Text | Optional | None |
{{name}} | Text | Optional | there |
{{message}} | Text | Required | None |
{{actionLabel}} | Text | Optional | Take a look |
{{actionUrl}} | Link | Required | None |
{{senderAddress}} | Text | Required | None |
{{unsubscribeUrl}} | Link | Required | 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 })Â const template = await nextmail.templates.create({ name: 'Announcement', starter: 'announcement', publish: true,})Â const sent = await nextmail.templates.send(template.slug, { from: 'Northwind <[email protected]>', to: '[email protected]', props: { headline: 'Northwind is now open to every team', logo: 'https://openemail.uk/email-templates/samples/logo.svg', senderName: 'Priya Nair', senderRole: 'Founder, Northwind', name: 'Maya', message: 'For the past year Northwind has been invite only while we got the basics right. From today anyone can create a workspace, and everything you set up during the beta carries over as it is.', actionUrl: 'https://example.com/whats-new', senderAddress: 'Northwind Ltd, 42 Harbour Lane, Bristol BS1 4XE', unsubscribeUrl: 'https://example.com/unsubscribe', },})Â console.log(sent.id, sent.status)Announcements
Start 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.