using email in username if username is empty