Get a specific item from a dataset

Have you seen the SendGrid tutorials like this one here as you might be missing a line like this after your rPhone value and before sendEmail.

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