Allow to select an outgoing mail parameters per model, such as email_from, or mail_server_id.
To make it work, the model must inherit mail.thread.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets administrators choose a specific outgoing mail server and sender email address for each model in Odoo. These settings apply automatically to emails sent from records of that model.
This module adds two settings on each model configuration in Odoo: a preferred outgoing mail server and a preferred sender email address. You can find them on the model form (for example, when viewing a model under Settings > Technical > Models), but only for models that support messages and activities (those that inherit mail.thread). The fields are only visible to users with technical access rights.
When an email is sent from a record of that model, Odoo automatically uses the chosen mail server and sender address instead of the default ones. This happens for every email sent through the standard messaging system, such as notifications to followers or messages posted on records.
- The mail server and email address are set per model, not per record.
- The settings only take effect if the model supports messages (inherits
mail.thread). - If no custom values are set, Odoo uses its normal defaults.
- The fields are hidden and read-only for models that do not support messages.
The module touches the model configuration screen (ir.model) and the messaging system (mail.thread). It does not add new menus or reports.
Depends on
Models and fields (1)
- ir.model · extends an existing modeloutgoing_email, outgoing_mailserver_id
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/mail.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0If you want to use a specific outgoing mail for a model, populate the following fields in the model record (Settings \> Technical \> Models) accordingly:
- Outgoing Mailserver: Set an outgoing mail server. This will be used as the forced outgoing mail server for the model.
- Outgoing Email: Set an email address. This will be used as the outgoing email for the model.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.