Skip to main content
connector logo

MailGun

Availability: Airbyte Cloud: ✅, Airbyte OSS: ✅
Support Level: Community
Latest Version: 0.2.1
Definition Id: 5b9cb09e-1003-4f9c-983d-5779d1b2cd51

This page contains the setup guide and reference information for the MailGun source connector.

Prerequisites

Api key is mandate for this connector to work, It could be seen at Mailgun dashboard at settings, Navigate through API Keys section and click on the eye icon next to Private API key See reference. Just pass the generated API key for establishing the connection.

Setup guide

Step 1: Set up MailGun connection

  • Generate an API key (Example: 12345)
  • Params (If specific info is needed)
  • Available params
    • Domain Region Code: Domain region code. 'EU' or 'US' are possible values. The default is 'US'.
    • Replication Start Date: UTC date and time in the format 2020-10-01 00:00:00. Any data before this date will not be replicated. If omitted, defaults to 90 days ago.

Step 2: Set up the MailGun connector in Airbyte

For Airbyte Cloud:

  1. Log into your Airbyte Cloud account.
  2. In the left navigation bar, click Sources. In the top-right corner, click +new source.
  3. On the Set up the source page, enter the name for the MailGun connector and select MailGun from the Source type dropdown.
  4. Enter your api_key as private_key.
  5. Enter the optional params configuration if needed. Supported params are: Domain Region Code, Replication Start Date.
  6. Click Set up source.

For Airbyte OSS:

  1. Navigate to the Airbyte Open Source dashboard.
  2. Set the name for your source.
  3. Enter your api_key as pivate_key.
  4. Enter the optional params configuration if needed. Supported params are: Domain Region Code, Replication Start Date.
  5. Click Set up source.

Supported sync modes

The MailGun source connector supports the following sync modes:

FeatureSupported?
Full Refresh SyncYes
Incremental SyncYes
Replicate Incremental DeletesNo
SSL connectionYes
NamespacesNo

Supported Streams

  • domains
  • events

API method example

GET https://api.mailgun.net/v3/domains

Performance considerations

MailGun's API reference has v3 at present and v4 is at development. The connector as default uses v3.

Changelog

VersionDatePull RequestSubject
0.2.12023-10-1631405Fixed test connection failure if date field is empty
0.2.02023-08-0529122Migrate to Low Code
0.1.12023-02-1322939Specified date formatting in specification
0.1.02021-11-098056New Source: Mailgun