first verion of email to teacher integration