mail_autogenerated_header
Marks outgoing Odoo emails as autogenerated and filters incoming autoreplies to prevent mail loops.
Key Features
- ir.mail_server: Adds RFC 3834-style autogenerated headers to outgoing mails (Auto-Submitted, Precedence, X-Auto-Response-Suppress) when appropriate.
- ir.mail_server: Skips adding autogenerated headers when the mail is a standard comment or when the mail_autogenerated_header_disable context is set.
- mail.thread: Detects incoming autoreplies via Auto-Submitted and X-Auto-Response-Suppress headers and stops notifications from being sent.
- mail.thread: Allows models to customize autoreply detection by overriding _message_route_process_autoreply when needed.