# Activity summaries not sent to a particular user

**URL:** <https://meta.discourse.org/t/activity-summaries-not-sent-to-a-particular-user/186198>\
**Category:** Product Support\
**Tags:** activity-summary\
**Created:** [April 9, 2021, 12:09pm UTC](https://meta.discourse.org/t/activity-summaries-not-sent-to-a-particular-user/186198 "2021-04-09T12:09:08Z")\
**Posts on this page:** 5\
**Page:** 1

## AI-generated summary

A site administrator created a test user to track Activity Email summaries, but emails stopped being sent on Feb 26. The administrator confirmed that the test user's Activity Summary is set to weekly, with no bounce score, and that `digest` emails are being sent to other users. After investigation, it was found that the `suppress_digest_email_after_days` setting has a default value of 365 days, causing emails to be suppressed after a year of inactivity. This means that users who haven't visited the site for over a year will no longer receive Activity Summary emails.

<div class="post-metadata">

**Author:** ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Post date:** [April 9, 2021, 12:09pm UTC](https://meta.discourse.org/t/activity-summaries-not-sent-to-a-particular-user/186198/1 "2021-04-09T12:09:08Z")

</div>

On my Discourse instance where I am a site administrator, I wanted to keep track of what content was showing up in Activity Emails sent to users. I’m constantly active, so I would never get an Activity Summary email sent to my administrative user email address. I therefore created a separate discourse user, logged in and interacted as that user, and then intentionally stopped using that user, in order to see weekly Activity Summary mails sent to that email address.

These weekly emails worked for a long time, but on Feb 26, the last activity email was sent to this test user email address. That’s the last time it shows up in Sent Emails; there are no Skipped, Bounced, Received, or Rejected emails listed for that user. In the user profile, I have confirmed that the Activity Summary is selected, weekly. There is no bounce score for this user.

I can see that `digest` mails are being sent to other users, so the general facility is working. (I also continue to get notices of things like at-mentions to my administrative user.) Therefore, it’s not a general problem with email delivery.

In the administrative view, I see that this user was last seen on 3 March 2020.

I upgraded to 2.7.0.beta4 on 18 February, and to 2.7.0.beta5 on 11 March. If this change had been caused by an upgrade, I would have expected to have received an email on 5 March.

This change happening 1 year after last seen feels suspicious, but I see no mention of a 1 year timeout in the Activity Summary guide:

> [@Configuring Activity Summary emails](https://meta.discourse.org/t/discourse-activity-summary-emails-guide/36627/1):
>
> 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. Under…

Nor do I see in the code an obvious (to me) restriction on having activity in the past year:

> <https://github.com/discourse/discourse/blob/main/app/jobs/scheduled/enqueue_digest_emails.rb#L17>

My forum does have people who go silent for more than a year yet come back later; we have a core of regulars and lots of occasional visitors, and I’d like to make sure that other occasional visitors who haven’t been to the site for a while keep learning about new interesting content on the site. I’d sure appreciate hints for what else to look for.

Thanks!

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [April 9, 2021, 1:03pm UTC](https://meta.discourse.org/t/activity-summaries-not-sent-to-a-particular-user/186198/2 "2021-04-09T13:03:01Z")

</div>

Did that user change the summary Email frequency in settings?

---

<div class="post-metadata">

**Author:** ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Post date:** [April 10, 2021, 12:10am UTC](https://meta.discourse.org/t/activity-summaries-not-sent-to-a-particular-user/186198/3 "2021-04-10T00:10:45Z")

</div>

Never. Last seen was 3 March 2020 because of intentionally not logging in order to get the emails.

> [@mcdanlj](#):
>
> In the user profile, I have confirmed that the Activity Summary is selected, weekly.

To clarify, that’s looking at the test user’s profile.

This _particular_ user is no big deal, but I’d like to make sure that all occasional visitors keep their default weekly update so that someday those who are infrequent might want to come back and join the community. ☺ And until I know what’s going wrong for this user, I wonder how many other users have the same problem…

---

<div class="post-metadata">

**Author:** ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Post date:** [April 10, 2021, 12:25am UTC](https://meta.discourse.org/t/activity-summaries-not-sent-to-a-particular-user/186198/4 "2021-04-10T00:25:29Z")

</div>

Ah. I was previously unaware of the `suppress_digest_email_after_days` setting.

For those who, like me, are not familiar with it, the default is 365 days, so if a user hasn’t visited for a year, Discourse quits sending email.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [May 10, 2021, 12:25am UTC](https://meta.discourse.org/t/activity-summaries-not-sent-to-a-particular-user/186198/5 "2021-05-10T00:25:42Z")

</div>

Closed on May 10, 2021, 12:25am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
