Mail Gateway
This module will allow you to integrate an external chat system in your Odoo system. It requires extra modules with the specific configuration of each chat system, like mail_gateway_telegram or mail_gateway_whatsapp.
This way, a group of users can respond customers or any other set of partners within Odoo, but the messages will be sent through the external chat system.
Table of contents
Configuration
Access in development mode
Go to Settings / Technical / Email / Gateway
Create a gateway. Follow the instruction of the specific tab in order to integrate it.
Start receiving notifications
Usage
Only the members of the Gateway / User group can use the features below.
Receiving and answering messages
When external messages are received, they are sent to the Gateway tab of the Discuss app and of the messaging menu. When the user is member of more than one gateway, the tab can be filtered by gateway. Answering these messages sends the answer to the external contact.
From a gateway conversation we can also:
Link a received message to any record with the Link to thread message action. The message is then also shown on the chatter of that record.
Create a contact for the external sender, or link the sender to an existing contact, with the New Partner conversation action or the Manage guest action of the member list.
Open the contact linked to the conversation with the Open Contact conversation action.
Sending messages from a record
On a record whose followers can be reached through a gateway, use the Gateway button of the chatter. For each of these followers, select the gateway channel to use and send the message. The full composer allows to use mail templates and to schedule the message.
A message already posted on a record can also be sent later through a gateway with the Send with gateway message action.
The delivery status of each gateway message is shown on the message. The reason of a failed delivery is shown when clicking on the status icon.
It is recommended to enable the Odoo notifications in the chatter for all the users that will receive messages from gateways.
Changelog
20.0.1.0.0
Migration to 20.0.
Changes required by Odoo 20.0
The Discuss sidebar categories don’t exist anymore: the gateway channels are listed in a new Gateway tab of the Discuss app and of the messaging menu, only shown to gateway users. As a consequence, the user setting Gateway Category Open has been removed.
The ir.websocket override has been removed: Odoo already subscribes the users to the bus of the channels they are member of, gateway channels included.
The mail.resend.message extension has been removed, as this wizard doesn’t exist anymore. The failure reason of a gateway notification is now shown in the notification popover of the message.
The pre-init hook has been removed: the column it created has not been used since 16.0.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Enric Tobella
Olga Marco
-
Carlos Roca
Eduardo Ezerouali
Other credits
This work has been funded by AEOdoo (Asociación Española de Odoo - https://www.aeodoo.org)
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/mail project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-mail-gateway 20.0.1.0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_mail_gateway-20.0.1.0.0.4-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_mail_gateway-20.0.1.0.0.4-py3-none-any.whl |
Release files / odoo_addon_mail_gateway-20.0.1.0.0.4-py3-none-any.whl
| Download URL | odoo_addon_mail_gateway-20.0.1.0.0.4-py3-none-any.whl |
|---|---|
| Size | 123.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f62c50863c8a87446af454355652774454b555b9bca72c7634497049509fd28
|
|
BLAKE2b-256 checksum How to use checksums |
86a70dcee17a18dd0cd21359a93d8e76273d6d54ae58a172b76046a388ccc588
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for odoo-addon-mail-gateway 20.0.1.0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.