import { MailAttachment } from '../mail.service'; export interface MailAdapter { sendMail(to: string, subject: string, text: string, html?: string, attachments?: MailAttachment[]): Promise; checkConnection(): Promise; }