fix test email, add sender configuration error