TIP: You can type at any time to perform a new search.
Mail cleanup
mail_cleanup · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Tools
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-08-07 08:42:57
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Ricardoalso, Weblate, Denis Leemann, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
## This module allows to: - mark e-mails older than x days as read, - move those messages in a specific folder, - remove messages older than x days on IMAP servers, just before fetching them. Since the main "mail" module does not mark unroutable e-mails as read, this means that if junk mail arrives in the catch-all address without any default route, fetching newer e-mails will happen after re-parsing those unroutable e-mails.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
inherit_fetchmail_cleanup |
inherit_fetchmail_for cleanup | fetchmail.server | form | Inherits mail.view_email_server_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (3)
-
cleanup_daysIntegerhelp='Number of days before marking an e-mail as read'string='Expiration days' -
cleanup_folderCharhelp='Folder where an e-mail marked as read will be moved.'string='Expiration folder' -
purge_daysIntegerhelp='Number of days before removing an e-mail'string='Deletion days'
-
fetch_mail(self, raise_exception=True)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 93 days ago
- Last activity
- 85 days ago
- Repository
- OCA/server-tools
- Pull request
- [19.0][MIG] mail_cleanup: Migration to 19.0 (#3618)