make emailSet into a xml