Jak sprawdzić, czy e -mail już istnieje w bazie danych za pomocą JavaScript

const userEmail = {emailAddress: email}

const { email } = req.body;

const foundUser = await User.find({ emailAddress: email });

foundUser.length > 0 ? "email already exists" : "email does not exist" 
Runtime Terror