Odoo Amazon SES integration

Amazon SES Connector

Send Odoo email through Amazon SES and stop mailing addresses that bounce.

Amazon SES integration for Odoo 19

What it does

Pick the SES API or the SES SMTP endpoint, paste your IAM key, and let SNS tell Odoo about bounces and complaints so the blacklist keeps itself up to date.

The module adds Amazon SES API as a way to authenticate an outgoing mail server. Odoo still builds the email (attachments, Bcc, its own Message-ID) and then posts the raw message to SendEmail of the SES API v2, signed with Signature Version 4. No AWS SDK is installed and no SMTP connection is opened. You can add a configuration set and a tag with the database name.

Prefer SMTP? One button fills the SES SMTP endpoint of your Region on port 587 with STARTTLS and works out the SMTP password from the IAM secret access key, using the conversion AWS publishes. Test Connection reads your SES account: sending enabled, sandbox or production, and how much of the 24 hour quota you have used.

For feedback, make the SNS endpoint URL in Odoo and subscribe it to the SNS topic that SES sends bounces and complaints to. Odoo only accepts messages from the topics you list, only loads the signing certificate from an https Amazon SNS address, and checks the SNS signature before it reads anything. The subscription is confirmed the same way.

A hard bounce or a complaint puts the address on the Odoo blacklist, so mass mailings skip it. Bounces also raise the bounce counter of the matching contacts and mailing contacts, mark the chatter notification as bounced and set mailing traces to bounced. Soft bounces are only logged. Contacts are matched inside the company you set on the server.