Skip to content

v2.0.0

Latest

Choose a tag to compare

@rkstraessler rkstraessler released this 16 Nov 15:51

REIKEM Mail Client for TypeScript – Release Notes

Highlights

  • Support for REIKEM Mail API v2 with named options for sending email, sending personalized batches, querying history, and downloading files.
  • Grouped To, Cc, Bcc, and Reply-To recipients with optional display names.
  • Optional idempotencyKey with typed replay and conflict responses.
  • Binary attachments via Buffer and Uint8Array, optional AI context, and shared batch defaults.
  • JSON and multipart requests, with bearer token and X-Adapter-Key authentication headers.
  • Configurable connect and request timeouts, lossless handling of large IDs, and complete status and AI metadata.
  • Improved validation and downloads, with 160 HTTP and validation tests and public type contract checks.

Migrating to v2

  • Use an API installation with the v2 endpoints and the corresponding database migration.
  • Replace positional method arguments with named options objects. The positional constructor remains available.
  • sendMailList is now an alias for grouped sending. Multiple To recipients share one email and queue ID.
  • Use Node.js 22+ or Bun 1.4+.

See the README for examples and migration details.

Installation

npm install @reikem/mail-client@2.0.0