Providers
Connecting Elastic Email to mailers.io: key, DKIM and callback
By mailers.io team Published 5 min read
public/media/blog-elastic-email-setup-cover.webp Elastic Email is one of the eleven sending providers you can connect to mailers.io. The connection is among the simplest: one API key, no region. The connection stays yours. Elastic Email bills you, your domain and its reputation are yours, and mailers.io adds lists, campaigns, sequences and routing on top. The compact version is on the Elastic Email integration page; this guide gives the steps with the reasons.
Before you start
You need:
- an Elastic Email account that is approved to send;
- permission to create an API key;
- a domain you can edit DNS for, ideally a subdomain used for sending (see the subdomain strategy);
- room for the domain in your plan. Sending domains are limited per plan, so check pricing.
Step 1: create an API key
In Elastic Email, create an API key for mailers.io. Give it the rights it needs to send mail and to manage domains and webhooks, since mailers.io does all of these through the API. A key kept for this purpose alone can be rotated or revoked without disturbing anything else that uses your account.
Copy the key when Elastic Email shows it.
Step 2: connect the server
Open Sending, then Servers, and add a server. Choose Elastic Email and fill in:
- A name you will recognise in logs and reports.
- API key. There is no region to choose.
- Speed limit (optional). See step 5.
Run Test connection. It makes a harmless read call, listing the domains of the account, and it sends nothing. So a pass proves that the key is valid and has some access. It does not prove that the key may send, which you will see on the first real message. A failure at this stage usually means a stray space or a revoked key.
The key is sealed before it is stored and is write-only: you can replace it by editing the server, but it is never shown again. Each key is its own server, so two Elastic Email accounts mean two servers with separate limits.
Step 3: authenticate your domain
Open Sending domains, add your domain and choose the Elastic Email server. mailers.io creates the DKIM through the API and shows you the DNS record. Publish it at your DNS host and use the verify button.
Elastic Email signs with that key, and mailers.io does not sign the message again. DNS needs time to spread, so wait a while before you decide that a record is wrong. If you want to see how the records fit together, SPF, DKIM and DMARC explained is the place to look.
Step 4: events through the callback
mailers.io registers a callback for each server when you save it. Elastic Email calls that address when a message is delivered, bounces or draws a complaint.
This is the point where Elastic Email differs from the providers that sign their webhooks. It does not sign the call. mailers.io protects the callback the other way: the URL contains a secret token that the platform creates, and a call without the token is rejected. So treat the callback URL as a secret and keep it out of tickets and chats.
A hard bounce or a complaint puts the address on your suppression list, and it is not mailed again. A soft bounce counts toward the soft-bounce limit. Suppressed recipients are never charged a credit.
Elastic Email’s own tracking of opens and clicks is switched off on these messages. Opens and clicks in your reports come from mailers.io tracking.
Step 5: pace the server under your Elastic Email allowance
Your Elastic Email plan has its own limits, and an account that is new or on a free tier is usually held to a low allowance. Check the current limit in Elastic Email and put a speed limit on the server that sits under it. You can set it per minute, per hour or per day.
If Elastic Email answers with a rate-limit error anyway, mailers.io treats the server as busy and steps aside for the time asked, and the message goes to another server or waits. Routing by provider quota and speed limits explains the order in which servers are tried. Every plan has failover and rotation across your own servers, by default round robin with 3 attempts.
Step 6: send a test
Send a message to an address you own and open the log. You should see one attempt on the Elastic Email server and a delivery event when the callback arrives. When an attempt fails, the error class tells you where to look: authentication points at the key, a refusal about the sender points at the domain, and a rate limit points at the allowance.
A new setup has no history. Do not send a whole list on day one. Use the warm-up schedule to ramp volume over days. It pauses on its own if bounce or complaint rates cross its thresholds, and it does not guarantee inbox placement.
When this provider fits
A low-cost service is a reasonable second or third server: it takes a share of the volume, or it is the fallback when another server is full or down. That is a use that routing handles well, and it is the reason to connect more than one. Why one provider is a single point of failure goes through the case.
Whatever the price, the terms still apply. Read Elastic Email’s acceptable use policy before you use the server for cold outreach.
What mailers.io does not do for Elastic Email
It does not raise your Elastic Email limits or lift a restriction on the account. It does not use Elastic Email’s contacts, lists or templates. And it does not give you a shared IP pool: the mail goes out through your own account.
Elastic Email checklist before the first campaign
- The connection test passes and the key is stored.
- The DKIM record is published and the domain shows as verified.
- A test message to your own address shows a delivery event in the log, which proves the callback works.
- A speed limit is set under your Elastic Email allowance.
- The callback URL is kept private.
- A second server exists to take over if this one is full or paused.
Once all six are true, this server can carry campaigns, automations, sequences and API mail.
Questions and answers
Do I choose a region?
No. Elastic Email is a single global service here.
How are events secured?
The callback uses a secret token in its URL. Elastic Email does not sign it, so keep the URL private.
Can I use Elastic Email for sequences?
Yes. Read Elastic Email's acceptable use terms first, because what you send is your responsibility.
Does mailers.io use Elastic Email's contacts or templates?
No. It builds the message itself and sends it through the API.
Written by the mailers.io team. Published .