> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rootly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SendGrid

> Route Rootly workflow emails through your own SendGrid account to send from your company domain with full delivery visibility, tracking, and authentication.

## Overview

By default, Rootly sends workflow emails from `workflows@rootly.com`. Connecting SendGrid lets you route those emails through your own SendGrid account instead — so emails arrive from your company domain and you retain full delivery analytics in SendGrid.

> [card] Custom Sender Domain
>
> Send workflow emails from your own domain instead of Rootly's default address.

> [card] Delivery Analytics
>
> Track opens, clicks, bounces, and delivery status directly in your SendGrid dashboard.

> [card] Works with Send Email Action
>
> All **Send an Email** workflow actions automatically route through SendGrid once connected — no changes needed to existing workflows.

> [card] API Key Validation
>
> Rootly validates your API key against the SendGrid API on connect, so misconfigurations are caught immediately.

## Before You Begin

* You must be a Rootly admin to set up the integration
* You need a SendGrid account with permission to create API keys

## Installation

**1. Create a SendGrid API key**

In SendGrid, go to **Settings → API Keys** and create a new key. Select **Restricted Access** and enable **Full Access** for **Mail Send** only — no other scopes are needed.

![SendGrid API key permissions with Mail Send set to Full Access](https://mintcdn.com/rootly/6qP0tS1GNk4jbxrs/images/integrations/sendgrid/images-1.webp?fit=max\&auto=format\&n=6qP0tS1GNk4jbxrs\&q=85\&s=c5f89fe04fb1a893333a6e76920cc12b)

Copy the API key — you won't be able to view it again after leaving the page.

**2. Connect in Rootly**

In Rootly, go to **Settings → Integrations**, find **SendGrid**, and click **Setup**. Enter your API key and optionally set a **Default From** address.

Rootly validates the key against the SendGrid API before saving. If the `mail.send` scope is missing, the connection will be rejected.

## Configuration

**API Key** `string` *required*

Your SendGrid API key. Must have the `mail.send` scope. Stored encrypted at rest.

**Default From** `string`

The sender email address used when no `From` is specified in a workflow action — for example, `incidents@yourcompany.com`. If left blank, the `From` field in each workflow action determines the sender.

> [!NOTE]
>
> Once SendGrid is connected, all **Send an Email** workflow actions are automatically routed through it. The **From** field in the workflow action still controls the sender address per-email — the **Default From** here serves as a fallback.

## Uninstall

To remove the SendGrid integration:

1. Go to **Settings → Integrations** and find **SendGrid**
2. Click **Connected** to reveal the disconnect option
3. Click **Disconnect**

![Click Connected to reveal the Disconnect option](https://mintcdn.com/rootly/QMD-dNqeYW4BA9dg/images/integrations/common/uninstall-connected.png?fit=max\&auto=format\&n=QMD-dNqeYW4BA9dg\&q=85\&s=dbb790e2576c8969bba96bc26c95265f)

After disconnecting, workflow emails will revert to Rootly's default delivery.

## Frequently Asked Questions

> [accordion] Do I need to change my existing workflows after connecting SendGrid?
>
> No. All **Send an Email** workflow actions automatically route through SendGrid once the integration is connected. No changes to existing workflows are required.

> [accordion] What's the minimum permission needed for the API key?
>
> Only `mail.send` (Full Access) is required. Rootly validates this on connect — if the scope is missing, the key will be rejected.

> [accordion] Can I use SendGrid and SMTP at the same time?
>
> No. If both a SendGrid and an SMTP integration are connected, Rootly prefers SMTP. To use SendGrid, disconnect the SMTP integration first.

> [accordion] Will disconnecting SendGrid affect emails already sent?
>
> No. Emails already delivered are unaffected. After disconnecting, new workflow emails will revert to Rootly's default delivery method.

## Related resources

* [Email](https://docs.rootly.com/integrations/email.md)
* [SMTP](https://docs.rootly.com/integrations/smtp.md)
* [Twitter / X](https://docs.rootly.com/integrations/twitter.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.