@visulima/email
Version:
A comprehensive email library with multi-provider support, crypto utilities, and template engines
39 lines (38 loc) • 833 B
TypeScript
import type { BaseConfig, EmailOptions } from "../../types.d.ts";
/**
* AWS SES configuration
*/
export interface AwsSesConfig extends BaseConfig {
accessKeyId: string;
apiVersion?: string;
endpoint?: string;
maxAttempts?: number;
region: string;
secretAccessKey: string;
sessionToken?: string;
}
/**
* AWS SES-specific email options
*/
export interface AwsSesEmailOptions extends EmailOptions {
/**
* Configuration set name
*/
configurationSetName?: string;
/**
* Message tags as key-value pairs
*/
messageTags?: Record<string, string>;
/**
* Return path email address
*/
returnPath?: string;
/**
* Return path ARN
*/
returnPathArn?: string;
/**
* Source ARN for sending authorization
*/
sourceArn?: string;
}