test email fixes