I'm trying to send a viable directly in the HTML via SendGrid. However, it's returning in the email as simple HTML
my code:
const message = {
to: email,
from: {
email: "christianguimaraes1996@gmail.com",
},
subject: "Forgot Password",
text: "TOKEN",
token: token,
html: "<p> token: {{{token}}}} </p>",
}
sgMail.send(message)
return res.send()
in the email it's received like this:
token: {{{token}}}}