query ServerMailSpamStatistics(
    $from: String!
    $to: String!
    $pagination: PaginationInput!
    $orderBy: EmailStatisticsRecipientsSortingInput!
) {
    emailStatistics {
        spamSummary(from: $from, to: $to) {
            clean
            infected
            protected
            skipped
        }
        spamRecipients(from: $from, to: $to, pagination: $pagination, orderBy: $orderBy) {
            rows {
                email
                count
                ratio
            }
            totalRows
        }
    }
}
