Skip to content
Enginemailer logo

Connectors / Marketing · HTTP Connector

Enginemailer integration and API

Update a subscriber, create a campaign and send an email in Enginemailer, and start a workflow when Enginemailer sends “Email delivered”.

What can you do with Enginemailer on Tray.ai?

Enginemailer is an email marketing and transactional email service for sending newsletters and campaigns, managing subscriber lists, and tracking delivery. Tray.ai connects to Enginemailer through the HTTP Connector, so your workflows can call the Enginemailer API alongside the rest of your stack.

  • When Enginemailer sends “Spam complaint”, remove the address from marketing lists in your CRM.
  • Send a templated email to new customers when your billing system confirms their first payment.
  • Insert a subscriber for each person who opts in at checkout in your online store.
  • When Enginemailer sends “Email bounced”, flag the contact's address for the sales team to fix.
Connects through
HTTP Connector
Authentication
An API key in a request header

Set it up

Connect Enginemailer to Tray.ai

Each step uses Enginemailer's own API details, from its documentation.

Save Enginemailer's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Import a request from Enginemailer's docs

Add an HTTP Client step and paste a cURL example from Enginemailer's API docs. Tray.ai fills in the method, URL, headers, and query.

Start with “Get custom fields”

It's one of 12 documented actions, under Subscribers. The response comes back as data the next step can map into your other apps.

Start workflows from Enginemailer events

Give Enginemailer the URL of a Tray.ai webhook trigger. “Email delivered” can then start a workflow, and so can 5 other events.

Workflows to build with Enginemailer

Connect Enginemailer with HubSpot, Shopify and Salesforce

Each one uses actions and events from Enginemailer's own API documentation.

Flag bounced Enginemailer addresses in HubSpot

When

Email bounced

Then

  1. Find the contact by email in HubSpot
  2. Mark the contact's email as invalid in HubSpot

With HubSpot

Send Shopify order confirmations through Enginemailer

When

An order is placed in Shopify

Then

  1. Send a templated email with the order details
  2. Insert a subscriber if the shopper opted in to news

With Shopify

Sync Enginemailer unsubscribes to Salesforce

When

Recipient unsubscribed

Then

  1. Find the lead or contact by email in Salesforce
  2. Set the email opt out on that record in Salesforce

With Salesforce

Apps you can build on Enginemailer data

Internal tools your team can build with an AI assistant, each one using Enginemailer calls from its API documentation.

Campaign schedule board

Lists campaigns and lets a marketer schedule or send each one.

Bounce and complaint log

Logs bounces, spam complaints, and unsubscribes so the team can unsubscribe problem addresses.

Email engagement tracker

Records deliveries, opens, and clicks as they happen to show how each send performs.

Give your AI agents Enginemailer tools

Build an MCP server on Enginemailer in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Insert a subscriber
  • Create a campaign
  • Send an email
  • Update a subscriber
  • Unsubscribe a subscriber
  • Get custom fields
  • Update a campaign
  • Delete a campaign

What the Enginemailer API covers

3 resources and 12 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Subscribers

  • Insert a subscriber
  • Update a subscriber
  • Unsubscribe a subscriber
  • Get custom fields

Campaigns

  • Create a campaign
  • Update a campaign
  • Delete a campaign
  • Send a campaign
  • Schedule a campaign
  • List campaigns

Transactional email

  • Send an email
  • Send a templated email

Events Enginemailer can send to a Tray.ai webhook trigger

  • Email delivered
  • Email bounced
  • Email opened
  • Link clicked
  • Recipient unsubscribed
  • Spam complaint

Checked against Enginemailer's own documentation on 2026-10-22

enginemailer.zendesk.com/hc/en-us/articles/360000733792-S…

Frequently asked questions

What can a Tray.ai workflow do in Enginemailer?

The Enginemailer API documents 12 actions across 3 resources (Subscribers, Campaigns, Transactional email). For example: Insert a subscriber; Create a campaign; Send an email. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Enginemailer?

The Enginemailer API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Enginemailer events can start a Tray.ai workflow?

Enginemailer sends 6 events to a webhook URL, for example: Email delivered; Email bounced; Email opened; Link clicked; Recipient unsubscribed; Spam complaint. A Tray.ai webhook trigger receives them and starts a workflow.

See Enginemailer working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.