interface Email {
    _id?: string;
    createdDate?: Date;
    deleted: boolean;
    from: { email: string; name: string; replyTo: string };
    hostBlurb?: string;
    id?: string;
    mailgunTemplateId?: string;
    modifiedDate?: Date;
    name: string;
    subject: string;
    tags?: string[];
    templateId: number;
    to?: string;
    type: string;
}

Hierarchy (View Summary)

Properties

_id?: string
createdDate?: Date
deleted: boolean
from: { email: string; name: string; replyTo: string }
hostBlurb?: string
id?: string

Use _id instead

mailgunTemplateId?: string
modifiedDate?: Date
name: string
subject: string
tags?: string[]
templateId: number
to?: string
type: string