# GDPR and the Digest email

**URL:** https://meta.discourse.org/t/gdpr-and-the-digest-email/86753
**Category:** Community Building
**Tags:** gdpr, activity-summary
**Created:** [May 4, 2018, 1:16pm UTC](https://meta.discourse.org/t/gdpr-and-the-digest-email/86753 "2018-05-04T13:16:50Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [May 4, 2018, 7:40pm UTC](https://meta.discourse.org/t/gdpr-and-the-digest-email/86753/6 "2018-05-04T19:40:57Z")

</div>

This hasn’t been tested (so do a database-only backup first), but this should do it:

```plaintext
cd /var/discourse
./launcher enter app
rails c
User.real.where("not admin").update_all(email_digests: false)

```

---

_[View the full topic](https://meta.discourse.org/t/gdpr-and-the-digest-email/86753)._
