query EditMassMailTemplatePage($id: ID!, $numericId: Int!) {
    viewer {
        login
        customers {
            id
            name
            email
        }
        resellers {
            id
            name
            email
        }
    }
    massEmail {
        template(id: $id) {
            name
            fromEmail
            sendToAdmins
            sendToResellers
            sendToResellersMode
            sendToClients
            sendToClientsMode
            subject
            body
        }
        templateResellers(templateId: $numericId) {
            contacts {
                id
            }
        }
        templateClients(templateId: $numericId) {
            contacts {
                id
            }
        }
    }
}
