mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 00:12:39 +00:00
26 lines
444 B
TypeScript
26 lines
444 B
TypeScript
export interface EmailTemplate {
|
|
id: string;
|
|
name: string;
|
|
subject: string;
|
|
body: string;
|
|
isHTML?: boolean;
|
|
category: string;
|
|
defaultRecipients?: {
|
|
to?: string[];
|
|
cc?: string[];
|
|
bcc?: string[];
|
|
};
|
|
identityId?: string;
|
|
isFavorite: boolean;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
|
|
export const BUILT_IN_PLACEHOLDERS = [
|
|
'recipient_name',
|
|
'company',
|
|
'date',
|
|
'day_of_week',
|
|
'sender_name',
|
|
] as const;
|