const transporter = nodemailer.createTransport({
host: "smtp.yandex.ru",
port: 465,
secure: true, // true for 465, false for other ports
auth: {
user: "user", // generated ethereal user
pass: "pass" // generated ethereal password
}
});