interface Email {
    createdAt?: Date;
    flags: EmailFlag[];
    id: string;
    lastTries: EmailTry[];
    mailFrom: string;
    mailRcpt: string;
    messageId: string;
    projectId: string;
    rcptTo?: string;
    rcptType: EmailRcptType;
    status: EmailStatus;
    statusDetails?: string;
    subject: string;
    tryCount: number;
    updatedAt?: Date;
}

Properties

createdAt?: Date

Creation date of the email object.

flags: EmailFlag[]

Flags categorize emails. They allow you to obtain more information about recurring errors, for example.

id: string

Technical ID of the email.

lastTries: EmailTry[]

Information about the last three attempts to send the email.

mailFrom: string

Email address of the sender.

mailRcpt: string

Email address of the recipient.

messageId: string

Message ID of the email.

projectId: string

ID of the Project to which the email belongs.

rcptTo?: string

Email address of the recipient.

rcptType: EmailRcptType

Type of recipient.

status: EmailStatus

Status of the email.

statusDetails?: string

Additional status information.

subject: string

Subject of the email.

tryCount: number

Number of attempts to send the email.

updatedAt?: Date

Last update of the email object.