mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-30 16:16:19 +00:00
30 lines
490 B
TypeScript
30 lines
490 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',
|
|
'short_date',
|
|
'day',
|
|
'month',
|
|
'year',
|
|
'day_of_week',
|
|
'sender_name',
|
|
] as const;
|