Mailgun Send (Edge)

Last updated on Oct 22, 2026

Mailgun is an email delivery service by Sinch that businesses use to send, receive, and track transactional and marketing emails through an API or SMTP. Mailgun Send is the part of Mailgun that sends emails and tracks what happens to them, such as deliveries, opens, clicks, and bounces.

Hevo uses the Mailgun API to replicate data from your Mailgun account to the Destination of your choice. To ingest data, you must provide Hevo with a Mailgun API key and the region that hosts your Mailgun account.


Supported Features

Feature Name Supported
Capture deletes Yes (for some objects)
History mode No
Custom data (user-configured tables & fields) No
Data blocking (skip objects and fields) Yes
Resync (objects and Pipelines) Yes
API configurable No

Handling of Deletes

For all the objects except the event objects and Spam Trap Count, Hevo uses a full data refresh approach to capture delete actions. If a record exists in the Destination but is no longer returned by the Source, the record is marked as deleted by setting the value of the metadata column __hevo__marked_deleted to True.

For the event objects and Spam Trap Count, Hevo does not capture deletes. Events that Mailgun no longer retains remain in the Destination.


Source Considerations

  • Mailgun retains events for a limited period, which is at least 3 days and depends on your Mailgun plan. Hevo ingests only the events that Mailgun retains at the time of each Pipeline run. To capture all the events, set a sync frequency shorter than the retention period of your plan.

  • The Spam Trap Count object contains the daily number of spam trap hits for the last 7 days at the time of each Pipeline run. As Hevo does not capture deletes for this object, the counts of earlier days remain in the Destination.

  • The Inbox Ready Domain, Monitored IP, Blocklist Event, Seed List, Seed List Sending Domain, and Seed List Result objects contain data only if the corresponding Mailgun Optimize features are enabled for your account. Otherwise, Hevo creates these tables, but they remain empty.

  • In the Blocklist Event object, the timestamps field contains the time at which Mailgun first detected the listing. The time at which Mailgun last detected the listing is stored in the last_seen field.

  • Mailgun returns the value 0001-01-01T00:00:00Z for some date fields that do not have a value. Hevo loads this value unchanged. In the Blocklist Event object, this value in the delist_requested_at field means that a delisting was not requested. In the Seed List object, this value in the last_result_at field means that the seed list does not have a result yet.

  • The Whitelist object contains the allowlist of each domain, which Mailgun shows as Allowlist in the user interface.


Limitations

  • Hevo does not replicate the members of mailing lists. The Mailing List object contains only the mailing lists and their number of members.

  • Hevo does not replicate the content of stored messages, the tracking settings of domains, the DKIM keys of domains, or account-level templates.


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Oct-19-2026 NA New document.

Tell us what went wrong