updated email address in email function