If email is a set, change it to a list