Creating emailerDataQuery Groovy