Python to generate and email a group of people included in a kk