[Skip to content](#main)

[→](/)

[![Avunu](/brand/avunu-logo.svg)![Avunu](/brand/avunu-logo-light.svg)](/)[Services](/services/)[Consulting](/services/consulting/)[ERP](/services/erp/)[Odoo](/services/erp/odoo/)[ERPNext](/services/erp/erpnext/)[Custom software](/services/custom-software/)[Devices & IoT](/services/devices-iot/)[Websites](/services/websites/)[Infrastructure](/services/infrastructure/)[Partners](/partners/)

[Work](/work/)[Open source](/open-source/)[Knowledge base](/kb/)[About](/about/)

[About Avunu](/about/)[Team](/about/team/)[Insights](/insights/)[Contact](/contact/)

[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

- [Services](/services/)[Consulting](/services/consulting/)
- [ERP](/services/erp/)
- [Odoo](/services/erp/odoo/)
- [ERPNext](/services/erp/erpnext/)
- [Custom software](/services/custom-software/)
- [Devices & IoT](/services/devices-iot/)
- [Websites](/services/websites/)
- [Infrastructure](/services/infrastructure/)
- [Partners](/partners/)

[Work](/work/)[Open source](/open-source/)[Knowledge base](/kb/)[About](/about/)

- [About Avunu](/about/)
- [Team](/about/team/)
- [Insights](/insights/)
- [Contact](/contact/)

[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

Odoo Email and Messaging

Odoo 18 modules that send and receive email through Cloudflare and run two-way Twilio SMS and MMS conversations inside Discuss.

[Open source](/open-source/)

Odoo Email and Messaging

Odoo
Active
AGPL-3.0-or-later

[View on GitHub (opens in a new tab)](https://github.com/Avunu/mail-addons)[Documentation (opens in a new tab)](https://docs.avunu.net/mail-addons/)

PlatformOdoo

LicenseAGPL-3.0-or-later

StatusActive&#xA;

Repository[Avunu/mail-addons](https://github.com/Avunu/mail-addons)

Part ofCloudflare Email

Used in[Auto & heavy-truck repair](/work/heavy-truck-repair-shop/)

Email and texting are where customers actually talk to you, so they belong in the ERP. These three modules give Odoo 18 Community a modern mail transport and a real two-way SMS channel, without an SMTP provider, IMAP polling, or a separate texting app.&#x20;
`mail_cloudflare`
&#x20;is the Odoo adapter in Avunu's Cloudflare Email suite.

## Features

**`mail_cloudflare`
:**
&#x20;an outgoing mail server type that sends through the Cloudflare Email Sending API with an account ID and token, plus an incoming server type that receives signed pushes from the&#x20;
[Cloudflare Email Relay](/open-source/cloudflare-email-relay/)
. Mail is processed by Odoo's own&#x20;
`message_process()`
, so aliases, reply threading, and bounces behave as they do today. Duplicates are ignored by Message-ID.

**`mail_gateway_twilio`
:**
&#x20;two-way SMS and MMS through Twilio, built on the OCA&#x20;
`mail_gateway`
&#x20;framework. Each phone number gets one Discuss conversation; replying in the thread sends a text. Delivery status is tracked, inbound media arrives as attachments, and webhooks can be registered with one click.

**`mail_gateway_twilio_sms_mirror`
:**
&#x20;copies outbound core notification SMS and SMS Marketing messages into the recipient's Twilio thread, so customer replies sit next to the message they answer.

## Getting started

Add the repository's&#x20;
`18.0`
&#x20;branch to your addons path and install the modules you need. The Cloudflare module needs a domain onboarded to Cloudflare Email Sending and Email Routing; the Twilio modules need OCA's&#x20;
`mail_gateway`
&#x20;(in OCA/social on 18.0). The&#x20;
[documentation](https://docs.avunu.net/mail-addons/)
&#x20;covers setup. With&#x20;
[odoo-nix](/open-source/odoo-nix/)
:&#x20;
`odoo module add Avunu/mail-addons 18.0`
.

Highlights

Outbound mail through the Cloudflare Email Sending APIInbound mail pushed by the Cloudflare Email Relay, with no pollingTwo-way Twilio SMS and MMS threaded per contact in DiscussCore and marketing SMS mirrored into the same threads

Related projects

[All open-source projects](/open-source/)

[Cloudflare Email Relay](/open-source/cloudflare-email-relay/)

Active&#xA;

A multi-tenant Cloudflare Email Routing Worker that stores every inbound message and pushes it to the right Odoo or Frappe instance with durable retries.

MIT[GitHub](https://github.com/Avunu/cloudflare-email-relay)

[WordPress Cloudflare Email](/open-source/wordpress-cloudflare-email/)

Active&#xA;

Routes all WordPress email through the Cloudflare Email Sending API and keeps a searchable log of every message, with no settings screen.

MIT[GitHub](https://github.com/Avunu/wordpress-cloudflare-email)

[Cloudflare Email Delivery](/open-source/cloudflare_email_delivery/)

Active&#xA;

Send and receive Frappe and ERPNext email through Cloudflare, with no SMTP or IMAP provider in the loop.

MIT[GitHub](https://github.com/Avunu/cloudflare_email_delivery)

Need help with it?

Need this implemented? Our Odoo implementation team can set up your email and texting, and we run the relay as part of managed infrastructure.

[Explore Odoo implementation](/services/erp/odoo/)[Start a project](/start/)

Services

- [ERP implementation](/services/erp/)
- [Odoo](/services/erp/odoo/)
- [ERPNext](/services/erp/erpnext/)
- [Custom software](/services/custom-software/)
- [Devices & IoT](/services/devices-iot/)
- [Websites](/services/websites/)
- [Infrastructure](/services/infrastructure/)

Resources

- [Our work](/work/)
- [Open source](/open-source/)
- [Knowledge base](/kb/)
- [Insights](/insights/)

Company

- [About](/about/)
- [Team](/about/team/)
- [Partners](/partners/)
- [Contact](/contact/)

Clients

- [Project portal](https://erp.avunu.net/projects)
- [Invoices](https://erp.avunu.net/)
- [Support](https://erp.avunu.net/)

[![Avunu](/brand/avunu-logo-light.svg)](/)[\<av-icon data-jx-static>\<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" stroke="none" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">\<path d="M20.400 20.500h-3.600v-5.600c0-1.300 0-3-1.800-3s-2.100 1.400-2.100 2.900v5.700H9.400V9h3.400v1.600c.5-.9 1.600-1.900 3.400-1.900 3.600 0 4.300 2.400 4.300 5.500v6.300zM5.300 7.400a2.100 2.100 0 1 1 0-4.100 2.100 2.100 0 0 1 0 4.100zm1.800 13.100H3.600V9h3.500v11.500zM22.200 0H1.800C.8 0 0 .8 0 1.700v20.600c0 .9.800 1.700 1.800 1.700h20.400c1 0 1.800-.8 1.800-1.700V1.700C24 .8 23.200 0 22.200 0z">\</path>\</svg>\</av-icon>](https://www.linkedin.com/company/avunu)[\<av-icon data-jx-static>\<svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor" stroke="none" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">\<path d="M12 .3a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2c-3.3.7-4-1.6-4-1.6-.6-1.4-1.4-1.8-1.4-1.8-1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1 1.8 2.8 1.3 3.5 1 .1-.8.4-1.3.7-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.5.1-3.2 0 0 1-.3 3.3 1.2a11.500 11.500 0 0 1 6 0c2.300-1.500 3.300-1.200 3.300-1.200.6 1.700.2 2.900.1 3.200.8.8 1.200 1.900 1.200 3.200 0 4.600-2.800 5.600-5.500 5.900.4.400.8 1.100.8 2.200v3.300c0 .3.2.7.8.6A12 12 0 0 0 12 .3">\</path>\</svg>\</av-icon>](https://github.com/Avunu)[Client portal](https://erp.avunu.net/projects)[Start a project](/start/)

Avunu LLC · 948 East Philadelphia Street, York, PA 17403 · (717) 814-8540Knowledge base articles are in the public domain[Privacy](/privacy/)[Terms](/terms/)
