test email function in the beta server