> ## Documentation Index
> Fetch the complete documentation index at: https://auth0-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to configure your SendGrid flow actions to send emails.

# SendGrid

## Configure your SendGrid Vault Connection

Learn how to configure a Vault Connection for your SendGrid Flow Actions at [SendGrid Vault Connection](/docs/customize/forms/vaults/sendgrid).

## Send email

Send an email using SendGrid as the email provider.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/auth0-docs-event-stream-action-templates/docs/images/cdy7uua7fh8z/3pT7MZCTVhcL9ueeke0HqQ/8583aedc27af021fe6a62430c6d59adf/sendGrid.png" alt="" />
</Frame>

### Input settings

| Parameter                   | Description                                                                                                    |
| --------------------------- | -------------------------------------------------------------------------------------------------------------- |
| Sender name                 | The sender's name                                                                                              |
| Sender email (required)     | The sender's email                                                                                             |
| Recipient name              | The recipient's name                                                                                           |
| Recipient email (required)  | The recipient's email                                                                                          |
| Subject (required)          | The email subject                                                                                              |
| Email type (required)       | Send email with HTML content or using a saved template (optional)                                              |
| Message (required)          | Email message in HTML format or a template (optional).                                                         |
| Template ID (optional)      | If using a template, its ID can be found at [ SendGrid dashboard ](https://mc.sendgrid.com/dynamic-templates). |
| Custom variables (optional) | Add custom variables to be inserted in your template.                                                          |

### Output object

You can find the expected response and status codes at [SendGrid's documentation](https://www.twilio.com/docs/sendgrid/api-reference/mail-send/mail-send).
