| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 498 |
| Technical Name |
reply_intelligence |
| License | OPL-1 |
Auto-Reply Filter
Stop out-of-office replies from creating junk leads and ghost tickets
The Problem
Odoo checks auto-reply headers on outbound emails, but never on inbound. Every out-of-office reply, auto-responder, and noreply notification gets processed as if it were a real customer message.
CRM
Out-of-office auto-replies create junk leads from your sales aliases.
Helpdesk
Auto-replies create ghost tickets and can trigger infinite reply loops.
Email Marketing
Out-of-office replies inflate your "Replied %" metric.
How It Works
Hooks into message_route() — the single entry point where all
inbound emails are routed. Before Odoo creates a lead, ticket, or message,
the module classifies the email and takes action:
Three-Layer Detection
| Layer | Method | What It Catches |
|---|---|---|
| 1. Headers | RFC 3834 & vendor-specific headers | Auto-Submitted, X-Auto-Response-Suppress (Exchange/Outlook), X-Autoreply, X-Autorespond, null Return-Path |
| 2. Sender | Address pattern matching | noreply@, no-reply@, donotreply@, mailer-daemon@, postmaster@ |
| 3. Subject | Multi-language pattern matching | Out-of-office patterns in 7 languages: English, German, Dutch, French, Spanish, Italian, Portuguese |
Configurable Per Category
Drop
Silently discard the email. No lead, no ticket, no message. Default for out-of-office and auto-replies.
Log as Note
Post as an internal note. Visible in the chatter but does not trigger notifications.
Process Normally
Let Odoo handle the email as usual.
Every Email Classified and Logged
Works With Every Odoo App
Operates at the mail.thread level, so it protects
every app that processes inbound emails:
| CRM | No more junk leads from out-of-office replies |
| Helpdesk | No more ghost tickets or reply loops |
| Email Marketing | Accurate reply metrics |
| Sales | Clean order communication threads |
| Project | No auto-reply noise on tasks |
| Accounting | No junk from invoice email replies |
Zero Configuration
- Install and it works immediately
- No external services or API keys
- No Python dependencies beyond Odoo
- Depends only on the
mailmodule
- Works with Community and Enterprise
- Enable/disable without uninstalling
- 44 automated tests included
- Clean, minimal codebase (~400 lines)
Technical Details
- Single hook: overrides
message_route()onmail.thread - Extracts headers directly from the raw email object
- Classification pipeline: headers → sender → subject
- All data stored in
reply.classificationmodel - Settings via
ir.config_parameter(standard Odoo pattern) - Compatible with any module that inherits
mail.thread
Reply Intelligence
Automatically classify inbound email replies and suppress out-of-office, auto-reply, and no-reply noise before it reaches your CRM, Helpdesk, or other Odoo apps.
Installation
Install from the Odoo Apps Store or place the reply_intelligence folder in your Odoo addons path, then install via Settings > Apps.
No additional Python dependencies are required. The module depends only on the mail module, which is part of every Odoo installation.
How It Works
Reply Intelligence hooks into Odoo's message_route() method — the single entry point where all inbound emails are routed. Before Odoo decides where to deliver an email (create a CRM lead, post on a helpdesk ticket, etc.), Reply Intelligence classifies it.
The classification pipeline runs three checks in order of confidence:
- Header detection (confidence 85–100%)
Checks RFC 3834 and vendor-specific headers:
- Auto-Submitted (RFC 3834)
- X-Auto-Response-Suppress (Microsoft Exchange / Outlook)
- X-Autoreply, X-Autorespond
- X-MS-Exchange-Generated-Message-Source
- Null Return-Path (auto-generated messages)
- Precedence combined with X-Mailer
- Sender pattern detection (confidence 95%)
Matches known no-reply sender patterns:
- noreply@, no-reply@, donotreply@
- mailer-daemon@, postmaster@
- Subject pattern detection (confidence 80%)
Multi-language subject line matching for OOO patterns:
- English: "Out of Office", "Automatic reply", "On vacation"
- German: "Abwesenheit", "Automatische Antwort", "Nicht im Buro"
- Dutch: "Afwezigheid", "Automatisch antwoord", "Niet op kantoor"
- French: "Absence du bureau", "Reponse automatique"
- Spanish: "Fuera de oficina", "Respuesta automatica"
- Italian: "Fuori ufficio", "Risposta automatica"
- Portuguese: "Fora do escritorio", "Resposta automatica"
Classification Categories
| Category | Description |
|---|---|
| OOO | Out of Office / Auto-Reply |
| Autoreply | Auto-Generated / System Message |
| Other | Unclassified (normal email) |
Configurable Actions
For each category, you can configure one of three actions:
- Drop (default for OOO and auto-replies): Silently discard the email. No CRM lead, no helpdesk ticket, no message posted anywhere.
- Log as Note: Process the email but mark it as an internal note. Visible in the chatter but does not trigger notifications or inflate reply statistics.
- Process Normally: Let Odoo handle the email as if Reply Intelligence were not installed. Useful during initial evaluation.
Configuration
Navigate to Settings > Reply Intelligence to configure:
- Enable/Disable: Toggle the module on or off without uninstalling.
- OOO Action: What to do with Out of Office replies.
- Auto-Reply Action: What to do with auto-generated messages.
- No-Reply Action: What to do with emails from no-reply addresses.
- Log All Emails: When enabled, creates a classification record for every inbound email, not just the ones that match a pattern. Useful for auditing.
Classification Log
All classified emails are logged in Settings > Technical > Reply Intelligence > Classifications. Each record shows:
- Sender, recipient, subject, and Message-ID
- Classification category and confidence percentage
- Detection method (header, subject pattern, or sender pattern)
- The specific reason for classification
- Action taken (dropped, logged as note, or processed)
- Raw classification headers (JSON) for debugging
Compatibility
- Odoo 18.0 Community and Enterprise Edition
- Works with any module that inherits mail.thread: CRM, Helpdesk, Sales, Project, Email Marketing, and more.
- Zero configuration required — works immediately on install.
- No external services or API keys needed.
Known Odoo Issues Addressed
- OOO replies creating junk CRM leads from email aliases
- Auto-replies inflating "Replied %" in Email Marketing campaigns
- OOO infinite reply loops in Helpdesk (GitHub issue #66329)
- System notifications from no-reply addresses creating tickets
FAQ
Does this block real customer emails? No. Reply Intelligence only classifies emails that match known auto-reply patterns (headers, sender addresses, subject lines). Normal human emails pass through untouched.
Can I see what was dropped? Yes. Every classified email is logged in the Classification Log with full details, regardless of the action taken.
Does it work without configuring an email server? Yes. The module hooks into Odoo's internal mail routing, which processes emails regardless of how they arrive (fetchmail, IMAP, API, or manual).
Will it conflict with other mail modules? No. Reply Intelligence only overrides message_route() on the abstract mail.thread model. It runs its classification, then calls the original method. Other modules that also override message_route() will work normally in the MRO chain.
Support
For questions or issues, contact support@replyintelligence.com.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module