Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Discuss
  3. Mail Guard: Lost Messages Routing, Outlook 365 Threading Fix, Failed Email Alerts v 19.0
  4. Sales Conditions FAQ

Mail Guard: Lost Messages Routing, Outlook 365 Threading Fix, Failed Email Alerts

by Viyug Infotech https://viyuginfotech.com
Odoo

$ 42.73

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Mail Guard

Outlook and Microsoft 365 threading fix, failed email alerts and lost messages routing

Replies from Microsoft 365 land in the right chatter again, the sender hears about every email that failed or bounced, and emails nobody could route wait in a triage queue instead of bouncing back.

Microsoft 365 Outlook Failed emails Bounces Catch-all Deliverability

3 ways
to find the right thread
Never guesses
between two documents
One click
retry or route

Free setup call with every purchase

After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).

Before and after

For every company that sends quotations, invoices and orders from Odoo, and most of all those on Microsoft 365.

Before

  • Outlook replies create new leads or bounce from the catch-all instead of reaching the quotation
  • An invoice to a mistyped address fails and only a small red icon shows it
  • Emails to the catch-all bounce back to customers and vendors
  • Signature logos fill every chatter with image001.png
  • Nobody knows if SPF, DKIM and DMARC are right

After

  • Replies are linked through the rewritten Message-ID, the Outlook Thread-Index or a strict subject match
  • The sender gets an activity with the server answer and retries in one click
  • Unroutable emails wait in a triage queue and are routed in one click
  • Small inline images and tracking pixels are dropped on arrival
  • One button checks the sending domain and the Microsoft 365 settings

What you get

Microsoft 365 reply threading

Exchange Online gives every email sent through it a new Message-ID, so replies no longer find their quotation, invoice or ticket. Mail Guard reads the new id from the server's answer and links the reply back.

Outlook conversation headers

Emails that start a conversation get a signed Thread-Index and Thread-Topic. Outlook replies carry them back, even when the References header is lost.

Strict subject fallback

A reply from a person who received exactly one document with the very same subject is linked to it. Two candidates, a different number or a sender who never got it: nothing is guessed.

Thread repair log

Every repaired reply is listed with the method used, the document and the original headers. Ambiguous replies are listed too, so you know what was left alone and why.

Failed email alerts

When an email cannot be sent or bounces, the person who sent it gets an activity on the document with the recipient and the server answer. No more quotations lost to a typo.

Failure register with retry

One line per failed recipient: not sent or bounced, failure type, server answer, document, responsible. Fix the address on the contact and retry in one click; delivered retries close themselves.

Exchange bounces attributed

Non-delivery reports from Exchange that only quote the rewritten Message-ID still mark the right recipient as bounced.

Lost messages and catch-all triage

Emails to the catch-all or to an address without an alias are kept in a queue instead of bouncing back to the sender or failing in the mail fetch.

Route in one click

Route an email to a new lead, vendor bill, task, helpdesk ticket or contact, or add it to any existing document. The original email is processed again, so attachments and replies follow.

Inbound clean-up

Small inline images such as signature logos and social icons no longer pile up as chatter attachments. Pictures pasted in the body are kept. Tracking pixels are removed.

Deliverability check

One button on the outgoing mail server: SPF, DKIM, DMARC, MX and reverse DNS of the sending domain, plus the settings Microsoft 365 needs (port, From Filter, authentication).

Outgoing server per company

Emails about documents of a company leave through that company's server, unless a template already chose one.

How it works

1. Outgoing

Odoo sends the email. Mail Guard adds Outlook conversation headers and keeps the Message-ID the server gives back.

2. Incoming

Before Odoo routes a reply, Mail Guard adds the missing reference when it is certain which document the reply belongs to.

3. Failures

Send errors and bounces become failure lines with an activity for the sender; a delivered retry closes them.

4. Triage

What no alias and no thread accepts is kept for routing instead of bouncing.

How it compares

FeatureThis appTypical alternatives
Replies linked although Exchange rewrote the Message-IDYesNo
Outlook Thread-Index matchingYes, signed per documentNo
Subject fallback that refuses ambiguous matchesYes, with a logNo
Activity for the sender when an email fails or bouncesYesRed icon only
Failure register with retry and auto-resolveYesNo
Unroutable and catch-all emails kept for routingYesYes
Route to a new lead, bill, task, ticket or contactYesExisting records only
Signature images and tracking pixels droppedYesNo
SPF, DKIM, DMARC, MX and PTR checkYesNo
Outgoing server per companyYesSeparate app

Setup in 5 steps

1

Install

Install Mail Guard. Thread repair, failure alerts, triage and the clean-up work right away with their default settings.

2

Check the server

Open your outgoing mail server and click Check deliverability. Fix what is marked Problem or Check at your DNS or mail provider.

3

Pick the responsibles

In the settings, choose who looks after the triage queue and who gets failures that no sender can be found for.

4

Multi-company

Optionally set an outgoing server per company in the settings of each company.

5

Watch

Use Failed emails and Triage daily; Thread repairs shows what was linked and why.

Workflow walkthrough

Fictional companies and people. The quotation and the retry went through a local mail server that answers like Exchange Online.

1

Settings

Mail Guard, Configuration, Settings. Every part can be switched on or off: Message-ID capture, Outlook headers, the subject fallback and its look-back window, failure activities, triage and the inbound clean-up.

Settings
2

Check the outgoing server

Check deliverability on the outgoing mail server looks up SPF, DKIM, DMARC, MX and reverse DNS of the sending domain and reviews the Microsoft 365 settings. Here the domain publishes a revoked DKIM key and an SPF record without Microsoft's include.

Check the outgoing server
3

A reply finds its document

The quotation went out through an Exchange-style server that replaced the Message-ID. The customer's Outlook reply only quotes the new id; Mail Guard linked it to the bakery's record as a reply to the quotation.

A reply finds its document
4

Thread repairs

Every repaired reply with the method used: rewritten Message-ID, Outlook Thread-Index or subject and sender. "Your order is ready" was sent to two documents, so that reply was left alone.

Thread repairs
5

Repair details

The incoming Message-ID and the references it carried, and the document it was linked to.

Repair details
6

Failed email overview

Failed and bounced emails by failure type and status: open, retried, resolved or ignored.

Failed email overview
7

Failed emails

The open failures with document, recipient email, kind, failure type and responsible. Retry or ignore several at once from the list.

Failed emails
8

A bounce in detail

The invoice to Lindqvist Bygg bounced: recipient, the server's answer, the document and who is responsible. Correct the contact's email right here and press Retry now.

A bounce in detail
9

The sender is told

The person who sent the email gets an "Email failed" activity on the document with each failed recipient and the reason, so nobody waits for a customer who never got the invoice.

The sender is told
10

Fixed and retried

The address of Ana Costa was corrected and the order confirmation was sent again: the failure is resolved and its activity closed.

Fixed and retried
11

Triage queue

Emails to the catch-all and to unknown addresses wait here instead of bouncing back: a vendor invoice, a quote request from a new prospect and a delivery note from a known customer.

Triage queue
12

An email to route

The full email with its attachments, who sent it, to which address and why Odoo could not route it.

An email to route
13

Route it

Choose a new lead, vendor bill, task, ticket or contact (only the apps you have installed are offered), add it to any existing document, or pick another document type.

Route it
14

Done

The email was processed again by Odoo with that destination: here a new contact with the message in its chatter. Replies will follow the contact.

Done

Questions

Why do replies from Microsoft 365 customers not reach the right document?

When Odoo sends through Exchange Online, Exchange gives the email a new Message-ID. Outlook replies quote that new id, which Odoo never saw, so Odoo cannot find the thread and the reply ends up as a new record or bounces from the catch-all. Mail Guard records the new id from the SMTP answer and links the reply.

Can a reply be linked to the wrong document?

The rewritten Message-ID and the Outlook Thread-Index are exact: the Thread-Index carries a signature only your database can produce. The subject fallback only links a reply from a person who received exactly one document with exactly that subject in the last 30 days (adjustable); look-alike subjects, other senders and subjects sent on two documents are never linked.

What do I need on the Microsoft 365 side?

Nothing special: use smtp.office365.com on port 587 with STARTTLS (or Odoo's Outlook OAuth) and a From Filter with your mailbox or domain. The deliverability check tells you what is missing.

Does Odoo not already show failed emails?

Odoo shows a red envelope on the message and a counter for its author. Mail Guard adds an activity for the right person (also when OdooBot or a scheduled action sent the email), one register for all failures and bounces, retry after fixing the address, and auto-resolve.

What happens to emails sent to the catch-all?

Odoo normally bounces them back to the sender or fails on unknown addresses. With Mail Guard they are kept in the triage queue for routing. Replies to existing threads and emails to your aliases are not affected.

Which signature images are removed?

Inline images up to 20 KB (adjustable) such as logos and social icons. Larger pictures pasted into the email body are kept, and attachments are never touched.

Does it work with Community and Enterprise?

Yes, it only needs the Discuss (mail) app and works in both, in light and dark mode.

Works well with

Other Viyug Infotech apps around email and the chatter.

Chatter Toolkit

Move or copy messages to another record, edit or delete any message with an audit trail, forward the full thread.

View in the store

AI Incident Copilot

Groups mail delivery errors, cron failures and server errors into incidents with an AI root cause proposal.

View in the store

Need a hand?

Questions about Microsoft 365, catch-all routing or your mail servers? Write to us and Viyug Infotech will get back to you.

Email support: support@viyuginfotech.com
Website: viyuginfotech.com

Scan with your phone to chat on WhatsApp or write us an email:

WhatsApp QR code for Viyug Infotech support

WhatsApp

+91 83207 42187

Email QR code for Viyug Infotech support

Email

Send us an email

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 1664
Technical Name viyug_mail_guard
LicenseOPL-1
Websitehttps://viyuginfotech.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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with