# Rapport over # verzonden e-mails toont geen gegevens ouder dan 3 maanden

**URL:** https://meta.discourse.org/t/report-on-of-emails-sent-doesnt-show-data-older-than-3-months/274972
**Category:** Data & reporting
**Tags:** email, rest-api
**Created:** [13 augustus 2023 om 22:12 UTC](https://meta.discourse.org/t/report-on-of-emails-sent-doesnt-show-data-older-than-3-months/274972 "2023-08-13T22:12:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hiddenseal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hiddenseal/32/284273_2.png) [@hiddenseal](https://meta.discourse.org/u/hiddenseal)
#### Post date: [13 augustus 2023 om 22:12 UTC](https://meta.discourse.org/t/report-on-of-emails-sent-doesnt-show-data-older-than-3-months/274972/1 "2023-08-13T22:12:38Z")

</div>

Is it supposed to be that “emails” report doesn’t show the data older than 3 months? Even if you ask for:

```plaintext
/admin/reports/emails?end_date=2023-08-13&start_date=2021-01-01.json

```

It gives you data only starting from May 15, 2023

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [13 augustus 2023 om 22:29 UTC](https://meta.discourse.org/t/report-on-of-emails-sent-doesnt-show-data-older-than-3-months/274972/2 "2023-08-13T22:29:54Z")

</div>

There’s an admin setting `delete email logs after days` that’s set to 90 days by default, but you can adjust it. 👍

---

<div class="post-metadata">

### Author: ![hiddenseal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hiddenseal/32/284273_2.png) [@hiddenseal](https://meta.discourse.org/u/hiddenseal)
#### Post date: [13 augustus 2023 om 22:38 UTC](https://meta.discourse.org/t/report-on-of-emails-sent-doesnt-show-data-older-than-3-months/274972/3 "2023-08-13T22:38:04Z")

</div>

Oh, I didn’t know that setting affected the report as well. Was it an intentional choice? I may not want to store email logs (which include personal data: recipient email and username) indefinitely, but I’d like to keep the depersonalized number of emails sent on a given day.

I know I can request these reports periodically and store them locally, but maybe there’s a point in storing them on the server by default as well?
