@visulima/email
Version:
A comprehensive email library with multi-provider support, crypto utilities, and template engines
30 lines (29 loc) • 778 B
TypeScript
import type { BaseConfig, EmailOptions } from "../../types.d.ts";
/**
* Zeptomail configuration
*/
export interface ZeptomailConfig extends BaseConfig {
endpoint?: string;
token: string;
}
/**
* Zeptomail-specific email options
*/
export interface ZeptomailEmailOptions extends EmailOptions {
/**
* Client reference - identifier set by the user to track a particular transaction
*/
clientReference?: string;
/**
* MIME headers - additional headers sent in the email for reference
*/
mimeHeaders?: Record<string, string>;
/**
* Track email clicks - enables tracking for click events
*/
trackClicks?: boolean;
/**
* Track email opens - enables tracking for open events
*/
trackOpens?: boolean;
}