Create nodemailer config from html page