# Select ESP (Email Service Provider) at Email Send Time in Mautic

**URL:** <https://forum.mautic.org/t/select-esp-email-service-provider-at-email-send-time-in-mautic/35780>\
**Category:** Development\
**Tags:** integrations-plugins, email, development, discussion, community\
**Created:** [June 3, 2025, 5:50am UTC](https://forum.mautic.org/t/select-esp-email-service-provider-at-email-send-time-in-mautic/35780 "2025-06-03T05:50:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandhi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gandhi/32/13476_2.png) [@gandhi](https://forum.mautic.org/u/gandhi)\
**Post date:** [June 3, 2025, 5:50am UTC](https://forum.mautic.org/t/select-esp-email-service-provider-at-email-send-time-in-mautic/35780/1 "2025-06-03T05:50:34Z")

</div>

### What I’m Trying to Do

I would like to configure **two different ESPs (Email Service Providers)** in Mautic (e.g., Amazon SES and SendGrid), and when **sending an email (manually or via campaign)**, I want Mautic to **prompt me to select** from which ESP the email should be sent.

### Example Workflow

1. I configure two ESPs in Mautic:

- **ESP A** : Amazon SES (SMTP/API)
- **ESP B** : SendGrid (SMTP/API)

1. While creating or sending an email (either through campaigns or broadcast), Mautic should allow me to **choose ESP A or ESP B**.
2. Based on the selected ESP, the correct mail transport is used during the sending process.

### What I’ve Found So Far

- Mautic only supports **one global ESP configuration** at a time under **Settings \> Configuration \> Email Settings**.
- There is **no native support** to choose between multiple ESPs per email or campaign.
- Some suggest using **custom plugins** or **transport override logic** with Symfony events (e.g., `EmailSendEvent`), but this requires custom development.
- I’m aware it’s technically possible to switch ESPs dynamically by intercepting the email sending process via custom code.

### What I’m Looking For

- **Is there any existing plugin or community solution** that:
  - Allows selecting between multiple ESPs per email or campaign?
  - Provides a UI option in the email creation or campaign step to choose the ESP?

- If no plugin exists, has anyone attempted this before? Any code snippets or guidance would be helpful.
- If not available, I am considering building a plugin to:
- Add a custom field (`esp_choice`) to the email or campaign.
- Dynamically switch the mail transport at send time based on this field.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 12, 2025, 8:14am UTC](https://forum.mautic.org/t/select-esp-email-service-provider-at-email-send-time-in-mautic/35780/2 "2025-06-12T08:14:22Z")

</div>

Here you go:

> **[Multiple Transport Plugin for Mautic | Mautic Extendee](https://mtcextendee.com/mautic-multiple-smtp-bundle)**
>
> Use different email sending services in Mautic based on email type or contact owner with the Multiple Transport plugin.

It does EXACTLY that.

---

<div class="post-metadata">

**Author:** ![gandhi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gandhi/32/13476_2.png) [@gandhi](https://forum.mautic.org/u/gandhi)\
**Post date:** [June 12, 2025, 9:49am UTC](https://forum.mautic.org/t/select-esp-email-service-provider-at-email-send-time-in-mautic/35780/3 "2025-06-12T09:49:46Z")

</div>

Thanks a lot for sharing this!

I checked out the this, and it definitely looks like it does exactly what I’m looking for — allowing the selection of different ESPs per email/campaign. The UI integration and dynamic routing based on tags or contact owner is especially impressive.

However, I noticed it’s a **paid plugin** (starting at $149 for a single instance). While that may be worth it for production setups, I was hoping to explore a **free solution or possibly build a custom one** if needed.

### Has anyone:

- Come across a **free or community-supported alternative** that allows multiple ESPs?
- Tried building something similar using **Symfony’s EmailSendEvent** or service container overrides in Mautic 5?

I’m considering developing a custom plugin that:

- Adds a dropdown (e.g., `esp_choice`) to the email or campaign UI
- Hooks into the email send event
- Dynamically switches the mailer transport based on the selected value

If anyone has explored this path or has code snippets / caveats to share, I’d really appreciate the guidance.

Again, thanks for the pointer — this plugin is definitely a solid commercial option!
