# Cleaning up e-mail logs

**URL:** <https://meta.discourse.org/t/cleaning-up-e-mail-logs/39132>\
**Category:** Product Support\
**Created:** [6. Februar 2016 um 01:51 UTC](https://meta.discourse.org/t/cleaning-up-e-mail-logs/39132 "2016-02-06T01:51:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [6. Februar 2016 um 10:18 UTC](https://meta.discourse.org/t/cleaning-up-e-mail-logs/39132/4 "2016-02-06T10:18:59Z")

</div>

> [@garthomite](#):
>
> Is there any harm in selectively trimming the table either by just date or perhaps just removing any ‘email\_reject\_destination’ logs over x days?

You can safely trim all the `email_logs` which have an **empty** `reply_key` (eg. “`email_reject_*`” and “`digest`”).

For the ones that have a `reply_key`, if you delete them, you’ll prevent users from replying to that email. So I guess you could be fine deleting some that are older than X months.

---

_[View the full topic](https://meta.discourse.org/t/cleaning-up-e-mail-logs/39132)._
