> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-actions-triggers-prototype.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://mintcdn.com/docs-staging-actions-triggers-prototype/BCluj8cbseLQ7dvz/docs/images/cdy7uua7fh8z/3pT7MZCTVhcL9ueeke0HqQ/8583aedc27af021fe6a62430c6d59adf/sendGrid.png?fit=max&auto=format&n=BCluj8cbseLQ7dvz&q=85&s=665e0c8baa427222083ca554648e1d95" alt="" width="1398" height="1229" data-path="docs/images/cdy7uua7fh8z/3pT7MZCTVhcL9ueeke0HqQ/8583aedc27af021fe6a62430c6d59adf/sendGrid.png" />
</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).
