export declare type Encoding = 'UTF-8' | 'Windows-1252'; interface EmailTemplate { from: T; html: T; subject: T; text: T; to: T; } export interface Payload extends EmailTemplate { attachments: number; charsets: EmailTemplate; dkim: { [key: string]: string; }; email?: string; envelope: Envelope; files?: { [key: string]: string; }; headers?: string; sender_ip: string; SPF: string; } export interface Envelope { from: string; to: string[]; } export {};