mail_post_defer
Defer outgoing Odoo mail postings so messages stay in the queue briefly and can be canceled before delivery
Key Features
- mail.thread: Outgoing thread notifications are queued by default with a 30-second delay unless force sending is requested
- mail.thread: Unsent comment messages can be edited before delivery and updates reschedule sending 30 seconds ahead
- mail.message: Removing a message also clears its queued outgoing mails and scheduled records
- mail.message.schedule: Scheduled notification sending bypasses deferral when due and only groups models that implement mail.thread
- automation: Post-init raises the mail queue cron cadence to every minute to process deferred messages promptly