MailGun
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:
- Log into your Airbyte Cloud account.
- In the left navigation bar, click Sources. In the top-right corner, click +new source.
- On the Set up the source page, enter the name for the MailGun connector and select MailGun from the Source type dropdown.
- Enter your api_key as
private_key
. - Enter the optional params configuration if needed. Supported params are: Domain Region Code, Replication Start Date.
- Click Set up source.
For Airbyte OSS:
- Navigate to the Airbyte Open Source dashboard.
- Set the name for your source.
- Enter your api_key as
pivate_key
. - Enter the optional params configuration if needed. Supported params are: Domain Region Code, Replication Start Date.
- Click Set up source.
Supported sync modes
The MailGun source connector supports the following sync modes:
Feature | Supported? |
---|---|
Full Refresh Sync | Yes |
Incremental Sync | Yes |
Replicate Incremental Deletes | No |
SSL connection | Yes |
Namespaces | No |
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.
Reference
Config fields reference
Field
Type
Property name
string
private_key
string
domain_region
string
start_date
Changelog
Version | Date | Pull Request | Subject |
---|---|---|---|
0.2.1 | 2023-10-16 | 31405 | Fixed test connection failure if date field is empty |
0.2.0 | 2023-08-05 | 29122 | Migrate to Low Code |
0.1.1 | 2023-02-13 | 22939 | Specified date formatting in specification |
0.1.0 | 2021-11-09 | 8056 | New Source: Mailgun |