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

Creating a SendGrid resource

To create a new SendGrid resource, visit resources for your team, click the "new" button, and select the SendGrid resource type. Enter your connection details in the form:
Name should be a human-readable name for your resource.
API key should be a SendGrid API key. If you don't already have one, create one from the API keys page in the SendGrid app using their guide. Your API key must have at least Full Access to the Mail Send permission.

Accessing from tasks

You can send emails using your SendGrid 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 SendGrid field reference.