# After rebuild: lost email association + digest spam every 6 hours

**URL:** <https://meta.discourse.org/t/after-rebuild-lost-email-association-digest-spam-every-6-hours/38841>\
**Category:** Bug\
**Tags:** activity-summary\
**Created:** [2월 1, 2016, 5:10오후 UTC](https://meta.discourse.org/t/after-rebuild-lost-email-association-digest-spam-every-6-hours/38841 "2016-02-01T17:10:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hinerm](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@hinerm](https://meta.discourse.org/u/hinerm)\
**Post date:** [2월 1, 2016, 5:10오후 UTC](https://meta.discourse.org/t/after-rebuild-lost-email-association-digest-spam-every-6-hours/38841/1 "2016-02-01T17:10:05Z")

</div>

After upgrading Discourse forum to version [b5bc430](https://github.com/discourse/discourse/commit/b5bc43023d94097160d4ff37b6e5f0074bf0f0dc) last week, it’s currently sending out digest e-mails every 6 hours.

Last week was the first time I rebuilt the Discourse container after an upgrade (using `launcher rebuild app`), which I did due to prompt messages during the upgrade.

In the Discourse web UI, when I look at `/admin/email/sent/` it looks like the association between “User” and “To Address” has been lost - e.g. pre-upgrade, user X is associated with e-mail address Y. Post-upgrade, no user is associated with e-mail address Y.

These may be unrelated issues, but I wanted to mention them both here since they both happened after the upgrade - and I was speculating that having lost the user association is causing Discourse to send the high-frequency digests.

Anyway, digest e-mails seem to only be sent to users who have not visited the site recently, as intended. But looking at the sent e-mail logs shows users receiving 4 digest e-mails in the past 24 hours.

Individual users reported setting their preferred digest e-mail frequency to every 3 days. I also tried clearing and resetting the server default values, with no effect (on the 6 hour mark, another digest e-mail went out).

If there’s any more info I can provide that would help, let me know.

Thank you!

---

_[View the full topic](https://meta.discourse.org/t/after-rebuild-lost-email-association-digest-spam-every-6-hours/38841)._
