add hide_email function