mailpit-api - v1.5.3
    Preparing search index...

    Interface MailpitMessagesSummaryResponse

    Response for the listMessages() API containing the summary of multiple messages.

    interface MailpitMessagesSummaryResponse {
        count: number;
        messages: {
            Attachments: number;
            Bcc: MailpitEmailAddressResponse[];
            Cc: MailpitEmailAddressResponse[];
            Created: string;
            From: MailpitEmailAddressResponse;
            ID: string;
            MessageID: string;
            Read: boolean;
            ReplyTo: MailpitEmailAddressResponse[];
            Size: number;
            Snippet: string;
            Subject: string;
            Tags: string[];
            To: MailpitEmailAddressResponse[];
            Username?: string;
        }[];
        messages_count: number;
        messages_unread: number;
        start: number;
        tags: string[];
        total: number;
        unread: number;
    }
    Index

    Properties

    count: number

    No longer documented upstream

    messages: {
        Attachments: number;
        Bcc: MailpitEmailAddressResponse[];
        Cc: MailpitEmailAddressResponse[];
        Created: string;
        From: MailpitEmailAddressResponse;
        ID: string;
        MessageID: string;
        Read: boolean;
        ReplyTo: MailpitEmailAddressResponse[];
        Size: number;
        Snippet: string;
        Subject: string;
        Tags: string[];
        To: MailpitEmailAddressResponse[];
        Username?: string;
    }[]

    Messages

    Type declaration

    messages_count: number

    Total number of messages matching the current query

    messages_unread: number

    Total number of unread messages matching current query

    start: number

    Pagination offset

    tags: string[]

    All current tags

    total: number

    Total number of messages in mailbox

    unread: number

    Total number of unread messages in mailbox