> ## 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.

# SMTP

> Route Rootly workflow emails through your own SMTP server to send from your company domain with full control over delivery, authentication, and headers.

## Overview

By default, Rootly sends workflow emails from `workflows@rootly.com`. Connecting an SMTP server lets you route those emails through your own mail infrastructure — so emails arrive from your company domain and you retain full control over delivery, authentication, and TLS configuration.

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

> [card] Full Delivery Control
>
> Configure TLS, authentication type, port, and SSL verification to match your mail server's requirements.

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

> [card] Highest Priority
>
> SMTP takes precedence over SendGrid. If both are connected, SMTP is always used.

## Before You Begin

* You must be a Rootly admin to set up the integration
* You need SMTP credentials for your mail server (address, port, username, password)

## Installation

**1. Open the SMTP integration in Rootly**

Go to **Settings → Integrations**, find **SMTP**, and click **Setup**.

![SMTP integration in the integrations list](https://mintcdn.com/rootly/kMnLuRjX9XFq2H7j/images/integrations/smtp/images-1.webp?fit=max\&auto=format\&n=kMnLuRjX9XFq2H7j\&q=85\&s=65288105f12c0dd0ed6a26c5da8ab709)

**2. Enter your SMTP server settings**

Fill in your server configuration and click **Connect**.

![SMTP configuration form](https://mintcdn.com/rootly/kMnLuRjX9XFq2H7j/images/integrations/smtp/images-2.webp?fit=max\&auto=format\&n=kMnLuRjX9XFq2H7j\&q=85\&s=456b39e729e5a1c98baac10f9f09f18b)

## Configuration

**Default From** `string`

The sender address for **Rootly's own outbound email** sent through this server — incident notifications, retrospective reminders, SLA notices, status page subscriber updates, API key expiry warnings. Setting it puts all of that mail on your own domain instead of Rootly's.

It is also the address the [Communications](https://docs.rootly.com/communications/sources.md) module uses as its email source, which is created for you when you save this field.

It does **not** apply to **Send an Email** workflow actions — see the note below.

The address must be one your SMTP server is authorized to send as. What happens otherwise is your provider's behavior, not Rootly's — some reject the message, some rewrite the sender, some deliver it and let it fail authentication downstream. Check against your own provider rather than assuming.

**Address** `string` *required*

The hostname of your SMTP server — for example, `smtp.gmail.com` or `smtp.sendgrid.net`. Must be a valid domain name. Stored encrypted at rest.

**Port** `integer` *required*

The port your SMTP server listens on. Defaults to `587` (STARTTLS). Common values: `25`, `465` (SMTPS), `587`.

**Domain** `string`

The HELO/EHLO domain sent to the mail server during the SMTP handshake — for example, `yourcompany.com`. Optional; leave blank to use the default.

**Username** `string`

The username for SMTP authentication. Required if your server requires authentication. Stored encrypted at rest.

**Password** `string`

The password for SMTP authentication. Required if your server requires authentication. Stored encrypted at rest.

**Authentication** `enum`

The authentication mechanism your server requires:

* `plain` — Sends credentials in plain text (use with TLS)
* `login` — Base64-encoded credentials (use with TLS)
* `cram_md5` — Challenge-response authentication (does not require TLS)

Defaults to `plain`.

**Enable StartTLS** `boolean`

Force STARTTLS when connecting. If enabled and the server does not support STARTTLS, the connection will fail. Defaults to `false`.

**Enable StartTLS Auto** `boolean`

Automatically detect and use STARTTLS if the server supports it, but do not fail if it doesn't. Defaults to `true`. Disable if you are using direct TLS via SSL mode.

**SSL** `boolean`

Use SMTPS — SMTP over a direct TLS connection on port 465. Defaults to `true`. Disable if your server uses STARTTLS instead.

**SSL Verify Mode** `enum`

How OpenSSL validates the server certificate:

* `None` — No certificate verification (useful for self-signed certs)
* `Peer` — Verify the server's certificate against trusted CAs

Defaults to `None`.

> [!NOTE]
>
> Once SMTP is connected, all **Send an Email** workflow actions are automatically routed through it.
>
> Their sender address comes from the **From** field on the action itself. Leave it blank and the message goes out as Rootly's `workflows@rootly.com` — **Default From** is not consulted for workflow email, even when it is set.
>
> So if you want workflow mail on your own domain, set **From** on each Send an Email action. Setting **Default From** alone will not do it.
>
> Every address you use must be authorized on your SMTP server.

## Uninstall

To remove the SMTP integration:

1. Go to **Settings → Integrations** and find **SMTP**
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 fall back to SendGrid (if connected) or Rootly's default delivery.

## Frequently Asked Questions

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

> [accordion] What's the difference between SSL and StartTLS?
>
> **SSL** (SMTPS) opens a TLS connection immediately on port 465. **StartTLS** begins as a plain connection on port 587, then upgrades to TLS. Most modern mail servers use port 587 with StartTLS — enable **StartTLS Auto** and disable **SSL** for this setup.

> [accordion] What takes priority — SMTP or SendGrid?
>
> SMTP always takes priority. If both are connected, Rootly uses SMTP. To switch to SendGrid, disconnect the SMTP integration first.

> [accordion] Can I use a self-signed certificate?
>
> Yes. Set **SSL Verify Mode** to `None` to skip certificate validation. This is useful for internal mail servers with self-signed certificates.

> [accordion] Can I send from any address?
>
> The **From** address must be authorized on your SMTP server. Rootly will not allow workflow emails to spoof Rootly-owned domains regardless of the From field value.

## Related resources

* [Email](https://docs.rootly.com/integrations/email.md)
* [SendGrid](https://docs.rootly.com/integrations/sendgrid.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.