tigrmail
Version:
API client for creating temporary email addresses to use in your E2E tests with Playwright, Cypress, and other frameworks.
18 lines (17 loc) • 419 B
TypeScript
export type EmailMessage = {
from: string;
to: string[];
subject: string;
body: string;
};
export type MessageFilterApi = {
inbox: string;
subjectEquals?: string;
subjectContains?: string;
fromEmail?: string;
fromDomain?: string;
};
export declare const pollNextMessageApi: ({ authToken, filter, }: {
authToken: string;
filter: MessageFilterApi;
}) => Promise<EmailMessage>;