> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/cloud/emails/integrations.md).

# Integrations

**Where:** Email → Integrations · `/projects/<project>/emails/integrations`

An email **integration** is the delivery provider that actually sends your messages — SMTP, AWS SES (Amazon Simple Email Service), Twilio SendGrid, Mailgun, or the sandbox **Fake Email (Test Me)** provider for testing without real delivery.

<figure><img src="/files/2KTVLbs6lsPcIHtTUwDU" alt=""><figcaption><p>Email → Integrations.</p></figcaption></figure>

## What you can do here

Add a provider with its credentials, **test** it, set one as default, enable or disable providers. Creating an integration does not send anything by itself — it makes the provider available to templates, campaigns, and triggers. Editing a saved integration also shows a **domain health** panel that checks the DKIM, SPF and DMARC DNS records of your sender domain.

## Example: connecting Twilio SendGrid

Pick the provider, name the integration, and fill its credentials — for SendGrid that is the API key and the verified sender:

<figure><img src="/files/nVhmBsx4vk9YqerA6ohO" alt=""><figcaption><p>The New integration form, filled.</p></figcaption></figure>

After **Save** the integration appears with its full action set — **Set as default**, **Disable**, **Test**, links to the provider's documentation and to the SDK/API docs, and **Delete**:

<figure><img src="/files/LkpMk062QDo9oItMIRio" alt=""><figcaption><p>The saved integration and its actions.</p></figcaption></figure>

**Test** sends a real probe through the provider — run it once after saving to confirm the credentials work before any template or campaign relies on this integration.

## Use it from code

[Notifications → Email](/sdks-and-cli/notifications/email.md).

## API reference

Endpoints: [Get Email Integrations](/api-reference/notifications/email/get-email-integrations.md), [Save Email Integration](/api-reference/notifications/email/save-email-integration.md), [Test Email Integration](/api-reference/notifications/email/test-email-integration.md), [Check Email Integration Domain Health](/api-reference/notifications/email/check-email-integration-domain-health.md).
