Mail tracking for Mailgun
(0)
379
Tecnativa

Mail tracking for Mailgun

FREE
Technical name
mail_tracking_mailgun
License
AGPL-3
Secure dependencies
N/A
Mail tracking for Mailgun

Mail tracking for Mailgun

Beta License: AGPL-3 OCA/social Translate me on Weblate Try me on Runboat

This module integrates mail_tracking events with Mailgun webhooks.

Mailgun (https://www.mailgun.com/) is a service that provides an e-mail sending infrastructure through an SMTP server or via API. You can also query that API for seeing statistics of your sent e-mails, or provide hooks that processes the status changes in real time, which is the function used here.

Table of contents

Installation

If you’re using a multi-database installation (with or without dbfilter option) where /web/databse/selector returns a list of more than one database, then you need to add mail_tracking_mailgun addon to wide load addons list (by default, only web addon), setting --load option.

Example: --load=web,mail_tracking,mail_tracking_mailgun

Configuration

To configure this module, you need to:

  1. Go to Mailgun, create an account and validate your sending domain.
  2. Go back to Odoo.
  3. Go to Settings > General Settings > Discuss > Enable mail tracking with Mailgun.
  4. Fill all the values. The only one required is the API key.
  5. Optionally click Unregister Mailgun webhooks and accept.
  6. Click Register Mailgun webhooks.

You can also config partner email autocheck with this system parameter:

  • mailgun.auto_check_partner_email: Set it to True.

Usage

In your mail tracking status screens (explained on module mail_tracking), you will see a more accurate information, like the ‘Received’ or ‘Bounced’ status, which are not usually detected by normal SMTP servers.

It’s also possible to make some checks to the partner’s email addresses against the Mailgun API:

  • Check if the partner’s email is in Mailgun’s bounced list.
  • Check the validity of the partner’s mailbox.
  • Force the partner’s email into Mailgun’s bounced list or delete from it.

It’s also possible to manually check a message mailgun tracking when the webhook couldn’t be captured. For that, go to that message tracking form, press the button Check Mailgun. It’s important to note that tracking events have quite a short lifespan, so after 24h they won’t be recoverable.

Known issues / Roadmap

  • There’s no support for more than one Mailgun mail server.
  • Automate more webhook registration. It would be nice to not have to click the “Unregister Mailgun webhooks” and “Register Mailgun webhooks” when setting up Mailgun in Odoo. However, it doesn’t come without its conceptual complexities.

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

Authors

  • Tecnativa

Contributors

  • Tecnativa:
    • Antonio Espinosa
    • Carlos Dauden
    • Pedro M. Baeza
    • David Vidal
    • Rafael Blasco
    • Ernesto Tejeda
    • Jairo Llopis

Other credits

Images

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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/social project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

0.0 / 5.0
based on 0 ratings

Python dependencies

Package Version Secured
Werkzeug 0.16.1
freezegun 0.3.15
requests 2.22.0
web 0.6.0
mock 3.0.5
openupgradelib 3.6.1

Available languages

Language % translated
Portuguese / Português
36%
Spanish / Español
31%
French / Français
4%
Slovenian / slovenščina
4%
German / Deutsch
3%
Finnish / Suomi
3%
Italian / Italiano
1%
Macedonian / македонски јазик
0%
Latvian / latviešu valoda
0%
Slovak / Slovenský jazyk
0%
Hungarian / Magyar
0%
Spanish (VE) / Español (VE)
0%
Dutch (BE) / Nederlands (BE)
0%
Norwegian Bokmål / Norsk bokmål
0%
French (CH) / Français (CH)
0%
English (UK)
0%
Estonian / Eesti keel
0%
Chinese (Traditional) / 繁體中文
0%
Romanian / română
0%
Mongolian / монгол
0%
Spanish (EC) / Español (EC)
0%
Greek / Ελληνικά
0%
Bosnian / bosanski jezik
0%
French (CA) / Français (CA)
0%
Dutch / Nederlands
0%
Chinese (Simplified) / 简体中文
0%
Portuguese (BR) / Português (BR)
0%
Russian / русский язык
0%
Serbian (Latin) / srpski
0%
Arabic / الْعَرَبيّة
0%
Japanese / 日本語
0%
Vietnamese / Tiếng Việt
0%
Bulgarian / български език
0%
Portuguese / Português
0%
Croatian / hrvatski jezik
0%
Spanish (CR) / Español (CR)
0%
Turkish / Türkçe
0%
Dutch / Nederlands
0%
Spanish (MX) / Español (MX)
0%
Croatian / hrvatski jezik
0%
Polish / Język polski
0%
Lithuanian / Lietuvių kalba
0%
Galician / Galego
0%
Turkish / Türkçe
0%
Thai / ภาษาไทย
0%
Swedish / Svenska
0%