@suluk/email - v0.2.0
    Preparing search index...

    Interface ResendProviderOptions

    @suluk/email — the missing EmailProvider binding + a per-event/per-locale branded template set. The app RENDERS a message (pure, branded, localized via @suluk/i18n) and SENDS it through a swappable provider (consoleProvider in dev; a Workers-safe resendProvider in prod). Never a hosted mailer — the provider is a thin binding (the @suluk/builder email slot impl). CANDIDATE tooling.

    interface ResendProviderOptions {
        apiKey: string;
        from: string;
        fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
        costMicroUsd?: number;
    }
    Index

    Properties

    apiKey: string

    the Resend API key (the app pulls it from @suluk/env).

    from: string

    default From, e.g. "Acme noreply@acme.com" — must be a verified Resend domain.

    fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

    inject a fetch (default: global fetch) — for testing / a custom transport.

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    costMicroUsd?: number

    advisory per-send cost in µ$ for @suluk/cost metering.