Konfiguration von Activity Summary-E-Mails

:bookmark: This guide explains how to configure and manage activity summary emails in Discourse, including user and admin options, customization, and troubleshooting.

:person_raising_hand: Required user level: Administrator

Activity summary emails (formerly known as digest emails) are automated messages sent to forum members who haven’t visited in a specific period. These emails contain a collection of popular content since the user’s last visit, aiming to re-engage inactive members.

Understanding activity summary emails

Activity summary emails include:

  1. Activity statistics to emphasize engagement levels
  2. A list of popular topics
  3. A selection of popular posts
  4. Links to topics that are “New for you”

Here’s an example of what an activity summary email looks like:

The system sends these emails only when a member hasn’t visited the forum or received an email from the forum for a minimum period.

Configuring user options

Users can customize their activity summary email preferences:

  1. Go to user preferences
  2. Navigate to the “Emails” tab
  3. Adjust the “Activity Summary” frequency

Available frequency options are:

  • Never
  • Every 30 minutes
  • Every hour
  • Daily
  • Weekly
  • Every month
  • Every six months

:information_source: The system won’t send activity summaries to silenced or suspended members.

Setting up admin options

Default user settings

To configure default settings for new users:

  1. Go to Admin / Settings
  2. Search for “digest”
  3. Adjust the following settings:
    • default email digest frequency
    • default include tl0 in digests

Here’s what these settings look like in the admin panel:

Site settings

To customize activity summary emails:

  1. Go to Admin / Settings
  2. Search for “digest”
  3. Modify the following settings as needed:
    • digest logo url
    • digest min excerpt length
    • digest topics
    • digest posts
    • digest other topics
    • suppress digest email after days
    • digest suppress categories
    • show topic featured link in digest
    • disable digest emails

Customizing email appearance

To customize the email’s appearance:

  1. Go to Admin / Settings
  2. Adjust the following settings:
    • email accent bg color
    • email accent fg color

For more advanced customization, refer to the guide on customizing email templates.

Adding custom content

To add custom text to activity summary emails:

  1. Go to Admin / Customize / Text Content
  2. Search for user_notifications.digest.custom
  3. Edit the desired customization keys

Understanding the list of popular topics

Popular topics for digests are extracted from /top topics with certain rules:

  • individual user permissions to view that topic
    • topics from private categories the user does not have access to will not be sent
  • topic notification level
    • the topic shouldn’t be muted for that user
  • user who created that topic must have trust level greater than 0
    • this default can be overridden (see below)
  • topic must be created after the user was last emailed
  • topic should not be from a muted category
  • topic should not be closed
  • topic should not be archived

Testing activity summary emails

To preview an activity summary email:

  1. Go to Admin / Emails
  2. Click on “Preview Summary”
  3. Set the Last Seen User date
  4. Enter a username to use for the summary email.
  5. Choose to view on-site or send to an email address

Here’s what the preview option looks like in the admin panel:

:information_source: Note that for the summary email to populate, it will need to contain at least some activity since the last seen user date, so you may need to set this date back several weeks if your site does not have a lot of activity.

Troubleshooting

A user might not receive activity summary emails if:

  • They have been active on the site recently
  • They have unsubscribed from activity summary emails
  • A summary has been sent recently
  • Their email has been bouncing
  • They’re inactive, suspended, or staged
  • They were created via sync_sso and have never visited the forum

Checking email sending dates

To check when an email was last sent to a user:

  • Check the last_emailed_at column in the users table
  • Check the digest_attempted_at column in the user_stats table

Frequestly asked questions

Is there a place to see statistics or a report of the amount of e-mails sent?

You can see the list of sent emails from your site’s Admin / Emails / Sent page. You can see the total number of emails sent per day with the Emails Sent dashboard report (found by clicking the Reports link from your admin dashboard.)

For a detailed report of emails sent per type of email, you can query the email_logs table with the Data Explorer plugin.

For self hosted sites, you can also usually see reports at your transactional mail provider, which will also include delivery status, bounces, etc.

What are the technical requirements and the costs associated with sending email to forum members?

For self hosted sites, an account with a transactional email provider like Sendgrid needed. Take a look at the email provider recommendations.

Email delivery is included with all of our hosting plans. If you go with our hosting, everything to do with sending and receiving emails on your Discourse site is configured for you.

Additional resources

Last edited by @SaraDev 2025-06-11T20:46:13Z

Last checked by @hugh 2024-08-02T04:11:44Z

Check documentPerform check on document:
36 „Gefällt mir“

Ich habe ein paar Kategorien konfiguriert und eine Gruppe mit den entsprechenden Berechtigungen für diese Kategorien. Ich möchte, dass Mitglieder dieser Gruppen Benachrichtigungen und E-Mail-Zusammenfassungen/Recaps nur von den Aktivitäten (Beiträge/Antworten) aus diesen spezifischen Kategorien erhalten. Derzeit erhalten Benutzer Benachrichtigungen über Aktivitäten aus anderen Kategorien.

Vielen Dank für jeden Rat.

Ich glaube, das wurde in Activity Summary not sent if other emails are sent - #25 by zogstrip geändert.

Diese Anweisung würde mir nicht helfen, zu /admin/customize/site_texts zu navigieren. „Textinhalt“ scheint weder in der URL noch in der Admin-Seitenleiste noch im alten Admin-Menü zu sein.

1 „Gefällt mir“

Ich verstehe immer noch nicht, wie ich Aktivitätszusammenfassungs-E-Mails konfigurieren kann. Ich möchte die E-Mail an Benutzer nach Gruppen senden. Ich habe zum Beispiel Kategorie-A und Kategorie-B, ich habe Gruppe A und Gruppe B mit entsprechenden Berechtigungen in Kategorie-A und Kategorie-B. Meine ideale E-Mail-Zusammenfassung ist, dass Benutzer aus Gruppe A nur Zusammenfassungen für Aktivitäten und Beiträge in Kategorie A erhalten und dasselbe für Benutzer in Gruppe B.

Ist das nicht das, was auf Ihrer Website passiert? Sieht es anders aus als das?

Ja, dieser Teil sollte aktualisiert werden, da vereinbart wurde, dass „der Erhalt einer Benachrichtigung nicht als Besuch zählt, der Sie daran hindert, eine Aktivitätszusammenfassungs-E-Mail zu erhalten“ und eine Korrektur implementiert wurde, um dies zu beheben.

Ich suche hier nur nach etwas Klarheit.
Da man einen Benutzer eingeben muss, um eine Zusammenfassungsvorschau auf der Website zu sehen, vermute ich, dass Discourse bereits intelligent genug ist zu wissen, dass es keine Themen aus einer bestimmten Kategorie an einen Benutzer senden soll, wenn dieser keinen Zugriff auf diese Kategorie hat, richtig?

Der einzige Grund, Kategorien zur Einstellung ‘Digest suppress categories’ hinzuzufügen, ist also, wenn man NIEMALS IRGENDWELCHE Themen aus dieser Kategorie an IRGENDWENDE senden möchte, richtig?