---
title: "Mailgun routes"
description: "Mailgun routes as a MainSDK driver for mail. Pick it in main.yaml; your calls stay the same."
section: "integrations"
canonical: "https://mainsdk.dev/docs/integrations/mailgun"
updated: "2026-10-28"
---

# Mailgun routes

> Mailgun routes as a MainSDK driver for mail. Pick it in main.yaml; your calls stay the same.

Canonical: https://mainsdk.dev/docs/integrations/mailgun · Updated: 2026-10-28

Mailgun routes as a MainSDK driver for mail. Pick it in main.yaml; your calls stay the same.

## Interfaces it serves

### Inbound mail and mailboxes (`mail`)

- Status: Building for 1.2 · ships as a experimental API
- Driver: `mailgun` (Mailgun routes)
- Docs: https://mainsdk.dev/docs/interfaces/mail.md

```yaml
mail:
  driver: mailgun
```

Swap to another provider: `ses`, `postmark`, `cloudflare`, `imap`, `jmap`, `local`.
