Set email for testing
Fix import for email authentication