write the email in a comma separated format