> 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

Email delivery providers — SMTP, AWS SES, SendGrid, Mailgun.

**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="https://760328771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwSkuCpTNI_AerL8J2a%2Fuploads%2Fgit-blob-c6a574e5a802c8e1ed4c99e550ceec27dff44e74%2Femails-integrations.jpg?alt=media" 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="https://760328771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwSkuCpTNI_AerL8J2a%2Fuploads%2Fgit-blob-93c8403d1649dbabeafce054e8e48f7d57c8d9e4%2Femails-twilio-sendgrid-new-filled.png?alt=media" 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="https://760328771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwSkuCpTNI_AerL8J2a%2Fuploads%2Fgit-blob-a6d55d854a6c6c9457bbc09fa659c69c105ee8a5%2Femails-twilio-sendgrid-saved.png?alt=media" 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).
