Create emailquery.txt