AutoVacuum Mail Message

Automatic Delete old mail message to clean database

Technical Name:
  • Odoo Version

Terms and Conditions

License: LGPL-3

AutoVacuum Mail Message

Odoo create a lot of message and/or mails. With time it can slow the system or take a lot of disk space. The goal of this module is to clean these message once they are obsolete.


  • Go to the menu configuration => Technical => Email => Message vacuum Rule
  • Add the adequates rules for your company. On each rule, you can indicate the models, type and subtypes for which you want to delete the messages, along with a retention time (in days).
  • Activate the cron AutoVacuum Mails and Messages

It is recommanded to run it frequently and when the system is not very loaded. (For instance : once a day, during the night.)


Try me on Runbot

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.



  • Odoo Community Association: Icon.


Do not contact contributors directly about support or help with technical issues.


Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products