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

# IMAP

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

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

IMAP 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: `imap` (IMAP (with a connection))
- Docs: https://mainsdk.dev/docs/interfaces/mail.md

```yaml
mail:
  driver: imap
```

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