Odoo 19 · 20DiscussFree

Lost Messages Routing

Keep a browsable record of inbound emails Odoo failed to process or dropped without an error, each with the reason, instead of losing them silently

Request a live demo · Odoo.sh or On-Premise only, not Odoo Online (SaaS).

Free

App Store price, per Odoo version

19 · 20

Odoo versions, each sold on its own page

Odoo.sh

or On-Premise; not Odoo Online (SaaS)

1.0.10

version of mh_lost_messages_routing

Confirmed a real gap in native Odoo before building: when message_process() fails to route or process an inbound email for any reason, fetchmail's own cron just logs it to the server log and marks it "seen" on the mail server - the message is gone forever, with no database record and no UI to review it. Catches that failure and saves the raw message so an admin can actually see what got lost, with its error and full raw source. Odoo also drops some mail without raising any error (a bounce-looking sender, an alias contact rule, a write to the catchall address, the loop limit, a repeated Message-Id, a reply to a deleted record), and this keeps those too, each with the reason. Reading and deleting is what this does; routing a captured message into the right model and retrying it is Lost Message Recovery.

How it works

Every dropped mail, with its reason

Failed with an error, treated as a bounce, rejected by the alias settings, sent straight to the catchall address, over the loop limit, a reply to a loop bounce, a duplicate Message-Id, or a reply to a deleted record. Filter or group the list by reason. Odoo's own handling is not changed: it still bounces, rejects and ignores exactly as before, and a reply to a deleted record still creates its new record.

Raw mail is purged after 30 days

The stored source is the whole email, including sender, recipients, body and attachments, which is personal data. A daily job blanks it after 30 days, a period you can change under Settings, or set to 0 to keep it. The headers and the reason stay. Decide the period with your data protection lead.

Screenshots

Requirements

  • Odoo 19.0 or 20.0. The App Store sells each version separately, so buy the one that matches your database.
  • Odoo.sh or On-Premise only. Third-party apps cannot be installed on Odoo Online (SaaS) databases. Check your hosting before buying.
  • Module mh_lost_messages_routing, version 19.0.1.0.10, licensed OPL-1.