---
title: "Community digest email template"
description: "A weekly round-up of the four threads members replied to most, in ranked order. Send it once a week instead of a notice for every post."
url: "https://nextmail.sh/email-templates/community-digest"
---

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

# Community digest email template

A weekly round-up of the four threads members replied to most, in ranked order.

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

- **From**
  Northwind <hello@example.com>
- **Subject**
  This week in Saltmarsh Camera Club: Which second-hand lens for portraits under £300?
- **Preview text**
  The four threads members replied to most this week.

![Preview of the Community digest template](https://nextmail.sh/email-templates/previews/community-digest-desktop.webp?v=3fa3d3fafa6d)

community-digest.txt

```
The four threads members replied to most this week.

{{communityName}}

{{weekLabel}}

Top threads this week

These are the conversations members replied to most since last week.

01

{{threadTitle1}}

{{threadSummary1}}

02

{{threadTitle2}}

{{threadSummary2}}

03

{{threadTitle3}}

{{threadSummary3}}

04

{{threadTitle4}}

{{threadSummary4}}

Read the threads [{{communityUrl}}]

You get this digest once a week as a member of {{communityName}}.
Change how often you get this [{{settingsUrl}}]
```

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

About

## When to send it

Send it once a week instead of a notice for every post. Each numbered thread has its title and a line on who started it and how many replied. One button leads back to the community, and a footer link lets members change how often it arrives.

13 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 |
| --- | --- | --- | --- |
| `{{communityName}}` | Text | Required | None |
| `{{weekLabel}}` | Text | Required | None |
| `{{threadTitle1}}` | Text | Required | None |
| `{{threadSummary1}}` | Text | Required | None |
| `{{threadTitle2}}` | Text | Required | None |
| `{{threadSummary2}}` | Text | Required | None |
| `{{threadTitle3}}` | Text | Required | None |
| `{{threadSummary3}}` | Text | Required | None |
| `{{threadTitle4}}` | Text | Required | None |
| `{{threadSummary4}}` | Text | Required | None |
| `{{communityUrl}}` | Link | Required | None |
| `{{settingsUrl}}` | Link | 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: 'Community digest',  slug: 'community-digest',  starter: 'community-digest',  publish: true,}) const sent = await nextmail.templates.send('community-digest', {  from: 'Northwind <hello@example.com>',  to: 'maya@example.com',  props: {    communityName: 'Saltmarsh Camera Club',    weekLabel: 'Week of 26 October',    threadTitle1: 'Which second-hand lens for portraits under £300?',    threadSummary1: 'Started by Priya Nair in Gear, 34 replies',    threadTitle2: 'Critique: fog on the river at dawn',    threadSummary2: 'Started by Tom Ellis in Critique, 21 replies',    threadTitle3: 'Printing at home or using a lab',    threadSummary3: 'Started by Amara Okoye in Printing, 18 replies',    threadTitle4: 'December walk: the old docks or the cathedral?',    threadSummary4: 'Started by Jonas Weber in Events, 15 replies',    communityUrl: 'https://example.com/community',    settingsUrl: 'https://example.com/community/settings/notifications',  },}) console.log(sent.id, sent.status)
```

Community

## More templates like this

![Preview of the Community welcome template](https://nextmail.sh/email-templates/previews/community-welcome-desktop.webp?v=8117edc8db3a)

### Community welcome

A welcome for new members with the guidelines in short and two numbered first steps.

6 styles

![Preview of the Meetup announcement template](https://nextmail.sh/email-templates/previews/meetup-announcement-desktop.webp?v=b784949eab46)

### Meetup announcement

A meetup announcement for your list, with a date tile, the programme and a booking link.

6 styles

![Preview of the Membership renewal template](https://nextmail.sh/email-templates/previews/membership-renewal-desktop.webp?v=46d5e741a1d7)

### Membership renewal

A renewal reminder with the end date, the price and what membership includes.

6 styles

![Preview of the Welcome template](https://nextmail.sh/email-templates/previews/welcome-desktop.webp?v=d019166ec823)

### Welcome

A sign-up welcome with a short greeting, one button to get started and the link written out underneath.

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)
