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 runbooks
You can use your Mailgun resource in runbooks by adding an
email block.
Next steps
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. The available fields are documented below.idstring
The ID of the resource.
slugstring
The slug of the resource as defined in the resource settings page.
namestring
The name of the resource.
The kind of the resource.
apiKeystring
The Mailgun API key.
domainstring
The configured Mailgun domain.