Mailgun

Send emails via Mailgun from Airplane runbooks.
The Mailgun resource allows runbooks to send emails via Mailgun. For a high-level introduction to resources, see the resources page.

Creating a Mailgun resource

To create a new Mailgun resource, visit resources for your team, click the "new" button, and select the Mailgun resource type. Enter your connection details in the form:
Name should be a human-readable name for your resource.
API key should be a Mailgun Domain Sending key. If you don't already have one, create one by following this Mailgun guide.
Domain should be the domain that your API key is associated with.

Accessing from tasks

You can send emails using your Mailgun resource from tasks by using the email SDK. See Email SDK reference for more information.

Field reference

When this resource is attached to a task, its fields are available in the JSON environment variable AIRPLANE_RESOURCES under the alias it was attached with. For more information, see the Mailgun field reference.