query MassMailPage($input: MassEmailTemplateListInput) {
    massEmail {
        templates(input: $input) {
            nodes {
                templateId
                name
                fromEmail
                sendToAdmins
                sendToResellers
                sendToResellersMode
                sendToClients
                sendToClientsMode
                subject
                created
            }
            pageInfo {
                current
                total
                pageCount
            }
            sortInfo {
                sortColumn
                sortDirection
            }
        }
    }
}
