OdooWiki OCA HUB

Check mailbox size

mail_check_mailbox_size folder_open OCA/social open_in_new
Uncategorised License: LGPL-3

Send an email with a summary of remote IMAP mailbox folders, with their total space used.

This is especially relevant in cases where invoices are received by email to make sure they can get through.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds a 'Check Size' option to incoming IMAP mail servers so Odoo can email selected contacts a daily report of each mailbox folder's message count and space used.

This module extends the incoming mail server configuration (fetchmail.server) with a mailbox size monitoring feature.

On the server form, in the 'Mailbox size checking' group (only visible for IMAP servers), you get: - A 'Check Size' checkbox to enable monitoring for that server. - A 'Contacts to notify' field where you pick the partners who should receive the report.

A scheduled job named 'Check mailbox size' runs once a day. It looks at IMAP servers that are in state 'done' and have 'Check Size' enabled, connects to each mailbox, and lists every folder with the number of messages and the size in bytes. It then sends one email per server to the selected contacts, containing an HTML table of folders with a total row showing the overall message count and total size in MB. If something goes wrong, the email instead contains an error message.

The job is automatically activated or deactivated when you save a server, depending on whether any server matches the criteria. The module depends on fetchmail and uses mail.mail to send the notification.

Depends on

fetchmail
Models and fields (1)
  • fetchmail.server · extends an existing modelcheck_mailbox_size (Check Size), mailbox_size_partner_ids (Contacts to notify)

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 12.0

To enable the mailbox check, you have to configure an Incoming Mail Server setting

Server Type = IMAP Server

Select 'Check Size' and fill 'Contacts to notify' with the list of partners to be notified with the summary of mailbox folders size.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.