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
    • Approvals
    • 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
    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. Technical
  3. Failed Email Alerts v 19.0
  4. Sales Conditions FAQ

Failed Email Alerts

by Farhan Ashraf https://apps.odoo.com/apps/modules/browse?author=Farhan+Ashraf
Odoo
v 19.0 Third Party 6
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 14.0 15.0 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Versions 14.0 15.0 16.0 17.0 18.0 19.0
  • Description
  • Manifest

Failed Email Alerts

Know when Odoo stops delivering your mail.

When SMTP credentials expire, a relay starts rejecting recipients or the mail server goes down, Odoo does not complain: it quietly parks every message in the outgoing queue in Delivery Failed state. Nobody notices until a customer asks why the invoice never arrived — often days later. This module watches the queue and emails your administrators a summary of what is failing: subjects, recipients and the first error the mail server returned. Free and open source (LGPL-3), Odoo 14.0 through 19.0.

  • Works on install — enabled by default: 5 stuck messages, older than 60 minutes, checked every 4 hours.
  • Actionable summary — the 20 oldest stuck messages with subject, recipient and the exact SMTP error.
  • Force-sent, never queued — the alert is delivered in-process, because the mail queue is exactly what is broken.
  • No inbox flood — at most one alert every 24 hours, however long the outage lasts.
  • Per-installation switch — one checkbox in General Settings, plus a configurable threshold and age window.
  • Never feeds itself — alert messages are flagged and are never counted as evidence of a broken queue.

Screenshots

01-settings

One switch in Settings → General Settings, with the alert threshold and the age window below it.

02-alert-email

The alert administrators receive: how many messages are stuck, and for each one the subject, the recipient and the error returned by the mail server.

03-stuck-queue

The queue the alert is about — Settings → Technical → Email → Emails. Without this module nothing tells you it looks like this.

Installation

  1. Open Apps, remove the default "Apps" filter if needed, and search for Failed Email Alerts.
  2. Click Install. Only standard modules (base_setup, mail) are required — watching starts immediately.

Configuration

  1. Open Settings → General Settings and scroll to the Emails section (called Discuss on Odoo 14.0 – 17.0).
  2. Failed Email Alerts is on by default; untick it to silence the watchdog on this database.
  3. Alert Above (emails) — how many stuck messages are needed before an alert goes out (default 5, floor 1).
  4. Minimum Age (minutes) — messages queued more recently than this are normal traffic and are not counted (default 60, floor 5).
  5. Make sure every administrator who should be warned has an email address on their user record.

Usage

  1. The scheduled action "Email: alert on a stuck outgoing queue" runs every 4 hours and counts messages in Outgoing or Delivery Failed state older than the age window.
  2. Above the threshold, every user with Settings access and an email address receives one summary of the 20 oldest stuck messages.
  3. A further alert is not sent for another 24 hours, so a broken relay cannot turn into an inbox flood.
  4. Open Settings → Technical → Email → Emails to inspect and retry the queue once the mail server is fixed.

Version notes

Identical behavior on every supported series (14.0 – 19.0); only the settings-view markup and the ir.cron fields differ internally.

Questions, bugs or feature requests?
Email f.ashraf.dev1@gmail.com — I read and answer every message.

License: LGPL-3 · Source on GitHub · Issues and contributions welcome.

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 239
Technical Name failed_mail_alert
LicenseLGPL-3
Websitehttps://apps.odoo.com/apps/modules/browse?author=Farhan+Ashraf

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, please use the developer contact information. They can usually be found in the description.
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