Skip to content
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Scaleway

Send through Scaleway Transactional Email with region-scoped endpoints and header-based reply-to.

Capabilities

Repeated headers Idempotency Scheduling Personalized
Yes none No expanded

These values come from the adapter’s exported capabilities declaration. The field support matrix covers normalized message fields.

The Scaleway adapter calls the Scaleway Transactional Email API with plain fetch. Sends are region-scoped: the adapter targets /regions/{region}/emails and defaults to fr-par.

Scaleway logo
Scaleway@opencoredev/email-sdk/scaleway
Provider docs

Configure

Create an IAM secret key in the Scaleway console, note your project ID, and verify the sending domain in Transactional Email.

PropType
secretKeystring

Scaleway IAM secret key, sent as the X-Auth-Token header.

Typestring
projectIdstring

Scaleway project ID the emails belong to.

Typestring
region?string

Transactional Email region used in the endpoint path.

Typestring
Default"fr-par"
baseUrl?string

Override the API origin, e.g. for a proxy.

Typestring
Default"https://api.scaleway.com"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch

Send

Scaleway maps cc, bcc, replyTo, headers, and attachments.

replyTo travels as a Reply-To entry in Scaleway’s additional_headers. Setting both replyTo and a manual Reply-To header throws an EmailValidationError before any request, so pick one.

Verify from the CLI

--region falls back to the SCALEWAY_REGION env var, then fr-par. Drop --dry-run for one real send to prove the key, project, region, and sender domain line up.

Frequently asked questions

Does Email SDK support Scaleway?

Yes. Email SDK ships a Scaleway adapter imported from @opencoredev/email-sdk/scaleway. You keep your Scaleway account and credentials; the SDK adds message validation, typed errors, and no-network test adapters around the same send() call used for every other provider.

Which message fields does the Scaleway adapter support?

Scaleway supports CC recipients, BCC recipients, Reply-To address, Custom headers, and Attachments. It does not support Tags, Metadata, and Scheduled sending (sendAt); Email SDK rejects a message that uses those fields before any request is made.

Can Scaleway schedule email for later with Email SDK?

No. Scaleway has no provider-side scheduling, so a message with sendAt fails validation. Store the job in your own queue and send when it is due.

Does the Scaleway adapter support idempotent sends?

No. Scaleway has no provider-side idempotency, so a retried send can be delivered twice. A send with idempotencyKey on a route that includes Scaleway fails with EmailValidationError unless you pass idempotency: “best-effort”. Deduplicate in your own queue before retrying.

Last updated on