Use Mailgun to Send Outbound Emails in Odoo

  Odoo Store

Once a business has collected the email addresses of current and potential customers, it is common for them to send email campaigns to inform them of key messages and promote sales. Analytics on these emails allow sales and marketing professionals to make informed decisions on how to improve future campaigns. 

However, emails sent directly through the Odoo platform do not provide any default analytics such as delivery or open rates. This makes improving campaigns on the platform guesswork. We solved this challenge with our Mailgun Outbound Email Gateway module. 

The Challenge

When sending emails through the Odoo built-in email feature, our customer had no way of telling if the recipient had actually received and opened the email. Using the default system on the platform was also considered a slow and laborious way to send out emails. 

We were challenged to create a remedy for this. 

The Solution

We created a module specifically for Odoo users that’s want to track their emails. The benefit of this module is that it allows the sender to see when their emails have been delivered, opened or failed (and the reason why it failed). This allows the business to identify the success of their emails as well as quickly and easily clean their data – ultimately increasing the performance of their campaigns.

The Solution

We used the smart technology provided by Mailgun to create this module. Mailgun is more dependable and faster than the built-in Odoo feature, making it a much more robust choice for sending emails within the platform. 

Mailgun allows email tracking, showing when the email recipient receives and opens the email. This is shown by the envelope icon colour in the chatter next to the contact’s name, as well as in the list of mail sent: 

  • Red: Did not send email
  • Orange: Partially sent email (Multiple recipients have been sent email but only some have received it)
  • Green: Sent email
  • Blue: Opened email

Email status in odoo from mailgun

What is Mailgun?

Mailgun is a service that offers inbound and outbound emails, as well as email validation, through their API.

Any Questions or Need a Custom Bespoke Module?

We are a UK based Odoo development team specialising in Python, PostgreSQL, JavaScript and XML. We can supply bespoke Odoo solutions including modules, customisations and website themes. We have worked closely with other companies and look forward to working with you, so feel free to get in touch with any questions or bespoke requests.