@ptkl/sdk - v1.3.4
    Preparing search index...

    Represents a mail log entry returned by the API.

    type MailLog = {
        attachments?: string;
        bcc: string[];
        body: string;
        cc: string[];
        component_uuid?: string;
        created_at: string;
        env: string;
        error_message?: string;
        from: string;
        max_retries: number;
        message_id: string;
        project_uuid: string;
        read_at?: string;
        read_ip?: string;
        read_user_agent?: string;
        reply_to?: string;
        retry_count: number;
        sent_at?: string;
        spam_report_ip?: string;
        spam_reported: boolean;
        spam_reported_at?: string;
        spam_reported_by?: string;
        status: EmailStatus;
        subject: string;
        tenant_uuid: string;
        to: string[];
        updated_at: string;
    }
    Index

    Properties

    attachments?: string

    Attachment metadata as JSON string

    bcc: string[]

    BCC email addresses

    body: string

    Email body (HTML)

    cc: string[]

    CC email addresses

    component_uuid?: string

    Associated workflow component UUID

    created_at: string

    Record creation timestamp

    env: string

    Environment: "dev" or "live"

    error_message?: string

    Error message from last failed attempt

    from: string

    Sender address (auto-generated from tenant)

    max_retries: number

    Maximum allowed retries

    message_id: string

    Unique message identifier (UUID)

    project_uuid: string

    Project scope UUID

    read_at?: string

    Timestamp when email was opened (tracking pixel)

    read_ip?: string

    IP address of reader

    read_user_agent?: string

    User agent of reader

    reply_to?: string

    Reply-to email address

    retry_count: number

    Number of send retry attempts

    sent_at?: string

    Timestamp when email was successfully sent

    spam_report_ip?: string

    IP address of spam reporter

    spam_reported: boolean

    Whether the email was reported as spam

    spam_reported_at?: string

    Timestamp of spam report

    spam_reported_by?: string

    Who reported the spam

    status: EmailStatus

    Current sending status

    subject: string

    Email subject line

    tenant_uuid: string

    Tenant scope UUID

    to: string[]

    Recipient email addresses

    updated_at: string

    Record update timestamp