Email Notification After Form Submission Problem

Plus you need to include the rest of the code after that too.

const recipient = $w(“#email”).value;

sendEmailWithRecipient(subject, body, recipient)
.then(response => console.log(response));

sendEmail(subject, body)
.then(response => console.log(response));
}