Adapters
Scaleway
Configure the Scaleway Transactional Email adapter.
Scaleway
email-sdk/scalewayimport { createEmailClient } from "email-sdk";
import { scaleway } from "email-sdk/scaleway";
const email = createEmailClient({
adapters: [
scaleway({
secretKey: process.env.SCALEWAY_SECRET_KEY!,
projectId: process.env.SCALEWAY_PROJECT_ID!,
}),
],
});Options
| Option | Type | Required | Notes |
|---|---|---|---|
secretKey | string | Yes | Scaleway secret key. |
projectId | string | Yes | Scaleway project ID. |
region | string | No | Defaults to fr-par. |
baseUrl | string | No | Defaults to https://api.scaleway.com. |
fetch | typeof fetch | No | Useful for tests or custom runtimes. |
Scaleway supports a narrower message shape than full API-first providers. Unsupported fields throw before the API call.