MailgunRedshift

Mailgun + Redshift

Mailgun is an email delivery service that provides reliable, scalable infrastructure for sending, receiving, and tracking emails at scale.

With Erathos, you can connect Mailgun data to Redshift in just a few minutes. Our platform handles the entire data movement process to your AWS data warehouse and lets you combine that data with other sources. That way, your time goes where it really creates value — extracting insights and making data-driven decisions.

Get started

14-day free trial. No credit card required.

Trusted by great companies

Ace Startups
Kamino
Convenia
Vakinha
Linus
Rabbot
Auvo
Roqt
Xperiun
Tecnova
WePayments
Brick
CCM
Simplified extraction and ingestion

Move data in a few clicks

1

Connect your source

Authenticate your account and you're done. 100+ ready-made connectors, no code required.

2

Configure the sync

Pick the tables, the schedule and the update type: batch, cursor-based incremental or CDC.

3

Choose your destination

Load into BigQuery, Redshift, Databricks, PostgreSQL, ClickHouse, Amazon S3 and more.

Which Mailgun data does Erathos sync with Redshift?

The integration automatically syncs Mailgun’s core objects:

  • Campaigns — name, status, channel, start and end dates
  • Leads and contacts — source, stage, and engagement data
  • Performance metrics — impressions, clicks, conversions, and cost per result
  • Lists and segments — composition and segmentation criteria
  • Automations — workflows, triggers, and conversion rates
  • Users — profiles, preferences, and interaction history

Why sync Mailgun with Redshift?

In Redshift, you can connect this data to the AWS ecosystem — QuickSight for visualizations, SageMaker for ML, and S3 as staging. Columnar storage optimized for analytical queries at petabyte scale with predictable billing. Ideal for teams already operating on AWS.

Available data

What Mailgun sends to Redshift

3 Mailgun tables can be synced to Redshift. Each table is created in Redshift with the same name it has in the connector, inside the schema you choose when setting up the connection.

A closer look at some tables

events

19 fields
Some of the fields
campaignsenvelope.senderenvelope.transporteventflags.is-authenticatedflags.is-test-modeidmessage.attachmentsmessage.headers.frommessage.headers.message-idmessage.headers.subjectmessage.headers.toand 7 more

routes

6 fields
Some of the fields
actionscreated_atdescriptionexpressionidpriority

A first query in Redshift

Reading the Mailgun events table straight from Redshift. Replace your_schema with the schema you chose for the connection.

SELECT
  JSON_EXTRACT_PATH_TEXT(envelope, 'sender') AS envelope_sender,
  JSON_EXTRACT_PATH_TEXT(envelope, 'transport') AS envelope_transport,
  JSON_EXTRACT_PATH_TEXT(message, 'attachments') AS message_attachments,
  JSON_EXTRACT_PATH_TEXT(message, 'headers', 'from') AS message_headers_from
FROM your_schema.events
LIMIT 10

Nested fields such as envelope.sender generally land in Redshift as JSON, in a column named after the top level (envelope). That is why the query reads them with Redshift's JSON functions.

Available tables

  • events
  • ips
  • routes
Why companies are moving data from Mailgun to Redshift with Erathos

Centralizing Mailgun data in Redshift has never been easier

Erathos is a data ingestion platform built for marketing and data teams. With the Mailgun connector, you automatically centralize emails, logs, and delivery metrics in Redshift — always up-to-date data, full observability into every run, and zero maintenance.

Why do data teams choose Erathos for Mailgun?

Mailgun data in Redshift in minutes

14-day free trial. No credit card required.
Our partners

Building data-driven stories

“Every new source implementation, if I had to do it myself, would take about two or three months. With Erathos, it's done in a few hours. I don't need the skills of a data engineer to generate real value from the company's data.”

Bruno Rosso
Bruno RossoData Analyst, Brick Software

“Erathos revolutionized data management at WE. By integrating multiple SaaS tools into a single DW, our technical team now focuses on the core business. We implemented dashboards with insights across every area, enriching our organizational culture and improving our decision-making.”

Matheus Nunes
Matheus NunesCTO & co-founder, WePayments

“We used to have a lot of rework, and now we don't. It's more efficient to work this way. If it's not your core business, hire Erathos. Spend your time modeling your own domain, not someone else's.”

Carlos Schwabe
Carlos SchwabeCo-Founder & CDO, Brick

“If I didn't have this infrastructure, I'd need three or four people to do what Erathos does today. I was able to generate real value from my data with a much leaner setup than I thought I'd need. That's the core of building a data-driven culture: the team only uses data when they can trust it.”

Thiago Paz
Thiago PazCFO, Brick

“Erathos brought a practical turnaround at CCM. We were able to integrate financial systems, CRM, and processes with BigQuery in just a few clicks, with no technical team required. That gave us a reliable data warehouse that powers automations, dashboards, and even our customer service bots.”

Gustavo Loforte
Gustavo LoforteTechnology Manager, CCM Group

“The robustness and efficiency of Erathos's connectors — whether for Meta, Google, RD Station, or ERPs like Bling and Conta Azul — make the whole process much faster and more reliable. The technical documentation is extremely well put together and intuitive, which makes implementation much easier.”

Sayuri Valente
Sayuri ValenteProject Manager, Xperiun
Explore

Other paths for your data

Other sources that land in Redshift

CRMs, ERPs, ad platforms and databases, all through the same managed pipeline.

See every source
FAQ

Frequently Asked Questions

Erathos is a data ingestion platform built for reliability, transparency, and control. We help data teams connect tools like Mailgun to their data warehouse — with full observability into every run, zero maintenance, and none of the black-box behavior of traditional tools on the market.

Erathos integration with Mailgun lets you export campaign metrics, audience data, conversions, cost per click, impressions, and channel-level performance data. All of it incrementally and with no code required.

You can configure sync frequency from every 5 minutes to daily, at the table level. Erathos uses incremental sync — only new or updated records are processed on each run, keeping the Mailgun pipeline efficient and Redshift costs predictable.

Erathos automatically detects failures and sends alerts to your email, Slack, or Discord with full context — not just “job failed.” Smart retries handle transient errors, and every run is logged with runtime, rows processed, and error context so your team can debug in minutes, not hours.

Yes. Every Erathos connector includes a 14-day free trial. Connect Mailgun to Redshift and start syncing right away — no credit card required.

Data ingestion with control, observability and scale