improve test email error message