Lost Message Recovery
Route the inbound emails Odoo failed to process, or dropped without an error, to the right model or record, with the reason it was lost and a log of who did what
Request a live demo · Odoo.sh or On-Premise only, not Odoo Online (SaaS).
8
reasons a mail is kept, shown on every row
Every
route, attach, dismissal and failed attempt writes a log line
52
automated tests across both apps, none failing
Once
a recovered message is refused a second route, so no second record
Own
access rights: routing never creates what the reviewer could not
Same
Odoo bounce, reject and ignore behaviour as before
Some inbound email never becomes a record. Odoo writes a line to the server log, or says nothing at all, and the mail fetcher counts the mail as handled. The free Lost Messages Routing app keeps a copy of each such mail with the reason. Lost Message Recovery is the other half: a reviewer reads the stored email, says where it belonged, and Odoo creates the record from it. This page walks through each step with screenshots of an Odoo 19 database seeded with made-up data, where every mail went through Odoo's own mail routing, the same call the mail fetcher makes.
Install it and a Lost Mail menu appears with Review Queue, Audit Log and, for managers, Routing Rules. It needs the free Lost Messages Routing app, which does the capturing.
How it works
Why a lost email needs a second look
Most inbound mail is delivered. The rest fails in ways nobody sees: the alias does not exist, the sender is not a contact yet, the mail looks like a bounce, or it is a duplicate. Odoo logs or ignores it, and the person who wrote is waiting for an answer that will not come.
1 The queue: what Odoo did not deliver
Use it when a customer says they wrote to you and nothing arrived.Reading only
Nobody notices a mail that was never turned into a record. The sender does not get a reply, and the mailbox on the server shows the mail as read.
Open Lost Mail > Review Queue . It opens on Needs review , grouped by the reason the mail was lost, and each row has a status: Lost, Retry failed, Recovered or Dismissed. Filters cover needs review, recovered and dismissed, and every reason; the list can also be grouped by status and by who reviewed it. The group headers carry the counts.
The queue grouped by reason. Each mail went through Odoo's mail routing and was dropped.
A guiding company wrote to the enquiries address from an address that is not yet a contact. The alias accepts mail from known contacts only, so Odoo refused it, created nothing and counted the mail as handled. It now sits in the queue under "Rejected by the alias settings".
The queue shows mail the free app captured. Mail that was never captured, for example before the free app was installed, is not in it.

2 The stored copy: read what was sent
Use it when you need to see exactly what the sender wrote before deciding where it goes.Managers only
To route a mail you have to know what it says, and a log line is not enough.
Open a message and the form shows the sender, recipient, subject, the reason and the status, with the stored raw email under Raw Source . Only managers see that tab. Reviewers work the queue without it.
It does not clean the mail up: the stored copy is the email as Odoo received it, decoded as UTF-8 (see the limits below).
The stored record of the mail from the guiding company, as a manager sees it, with the buttons that act on it.
The stored source is the whole email: sender, recipients, body and attachments. It is personal data. A daily job blanks it after 30 days by default; set the period in Settings with your data protection lead. The app makes no GDPR compliance claim.

3 Route to: put it where it belongs
Use it when the mail should have created a record, or belongs on a record that already exists.Creates a record
The sender is waiting. Retyping the email into a new lead loses the original message, its date and its sender.
Press Route to... on the message. Pick any model that accepts incoming mail, and optionally an existing record, and add a note. With no existing record, Odoo creates a new one from the stored email. With one, the email is added to it as a reply and no second record is created. The routing runs with the reviewing user's own access rights, so it cannot create a record the reviewer could not create.
A reviewer routes the guiding company's mail to Leads and writes why.
The message afterwards: Recovered, with the model, the record number, who reviewed it and the note.
The lead that was created. The original email, with its sender and date, is in the chatter, shaped like a lead created by a delivered mail.
Maya, a reviewer, opens the mail from the guiding company, chooses Route to, picks Lead and adds the note "Sender is not a contact yet, so the alias refused the mail. Routing it to Leads for Sales." The status becomes Recovered and Open Recovered Record opens the new lead. A recovered message cannot be routed again, because a second attempt would create a second copy; a target record that no longer exists is refused.
It does not reply to the sender and it does not change the alias that refused the mail.
a record created from the original email, a status of Recovered and a link to the record.



4 Routing rules: Retry by Rule
Use it when the same mistake keeps sending mail to the wrong place, such as a mistyped address.Creates a record
Routing the same kind of mail by hand, over and over, is slow.
Managers open Lost Mail > Routing Rules . A rule matches on what the sender, recipient or subject contains and names the model to create the record in. Every condition you fill in must match, the lowest sequence wins, and a rule with no condition at all is refused because it would swallow every lost message into one model. Retry by Rule on a message applies the first rule that matches. Rules are matched against the stored headers, so a rule can be written after the mail was lost.
A rule for mail sent to a mistyped sales address.
A customer wrote to sale@ instead of sales@ . No alias matches, so Odoo raised an error and the mail was kept as "Failed with an error". The rule above matches the To address, and Retry by Rule creates the lead in one click, recorded against the rule that matched.
A rule does not run by itself: a reviewer presses Retry by Rule. If no rule matches, the attempt is recorded as failed with the reason "No routing rule matches this message".

5 When a replay fails: it says so
Use it when you route a mail and nothing can be created from it.Writes the failure
A routing button that fails quietly leaves you believing the mail was handled.
A failed attempt is recorded on the message: the status becomes Retry failed , the error text is kept, and a log line is written. The attempt runs inside a savepoint, so a failure leaves the rest of your work intact. A mail whose stored source is gone says exactly that.
It cannot recover what is no longer stored. Once the source is blanked, only the headers and the reason remain.
A mail older than the retention period: its source was blanked by the daily job, so the attempt failed with a plain message.
A failed attempt leaves the message in the queue. It is not marked Recovered and no record is created.

6 The audit log: who did what
Use it when someone asks who routed a mail, when and why.Read-only
Putting mail into records is a decision, and decisions need a trail.
Open Lost Mail > Audit Log . Every route, attach, dismissal and failed attempt is one line: who, when, the status before and after, the target model and record, and the note or the error. No group has write, create or delete access to the log, and a message also shows its own lines on its Audit Log tab.
It is not tamper-proof against a manager: deleting a message deletes its log lines, and managers can delete messages.
The log after a short session: two routes, a rule retry, a dismissal and a failed attempt.

7 Reviewers and managers
Use it when the people who clear the queue should not all see the raw mail.Group settings
A stored email is personal data, and not everyone who can route a mail needs to read it.
Reviewers see the queue, route and dismiss messages and read the log. They do not read the stored raw mail, cannot delete messages and cannot see routing rules. A reviewer still sees the sender, recipient and subject. Managers also read the raw source, edit routing rules and delete messages. Settings administrators become managers when the app is installed. A user in neither group cannot read or route.
Dismissing a message with Mark Reviewed keeps it, with who, when and why. It does not delete anything.
The same message as Maya, a reviewer, sees it: the buttons and the status, and no Raw Source tab.

8 Known limit: other text encodings
Use it when your senders may use mail clients that do not write UTF-8.Documented defect
The free app stores the raw email as text decoded from UTF-8, with replacement characters for any byte that is not valid UTF-8. A mail written in another encoding, such as ISO-8859-1, is therefore altered in the stored copy, and the record created from it carries the damage.
The test mail below declares ISO-8859-1 and contains three accented letters. The stored copy keeps the headers and the body, and the three letters are stored as replacement characters. When the mail is routed, the record's chatter shows the damaged text.
Mail in UTF-8, which covers most mail today, was stored and routed intact in the control run. If your senders use other encodings, check recovered records against the original in your mail client.
The stored source of the ISO-8859-1 mail: the accented letters are replaced.
The record created from it. The same sentence sent as UTF-8 was stored and routed intact in the control run.
This is a known defect, found by reading the code and then reproduced in the run behind this page. It is not fixed in this version.


Questions buyers ask
Do I need the free app as well?
Yes. Lost Messages Routing is free and does the capturing; Lost Message Recovery adds the routing, the rules, the groups and the audit log on top of what it stores.
Does it change how Odoo handles mail?
No. Odoo still bounces, rejects and ignores mail as before. The free app only notes why, and a reply to a deleted record is recorded while Odoo still creates its own new record.
Can it recover every lost mail?
No. A mail that was never captured, or whose stored source was purged, cannot be replayed, and the app says so.
Could routing create two records?
Not from the same message. A message that is already Recovered is refused, and a failed attempt creates nothing.
Who can see the stored mail?
Managers. Reviewers see the sender, recipient and subject, but not the stored raw mail.
Is the stored email personal data?
Yes: it is the whole email. The stored source is blanked after 30 days by default, and you can change the period or keep it forever in Settings. Decide the period with your data protection lead; the app makes no compliance claim.
What about mail that is not UTF-8?
The stored copy of such a mail is altered (section 8). It is a known defect and is not fixed in this version.
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_message_recovery, version 19.0.1.0.14, licensed OPL-1.