Anexe um PDF gerado a um e -mail SMTPJS em JS

//attach a generated pdf to a smtpjs mail in js   



	 Email.send({
     Host: "smtp.gmail.com",
     Username : "[email protected]",
     Password : "abc",
     To : receiver,
     From : "[email protected]",
     Subject : emailSubject,
     Body : emailBody,
     Attachments : [
     {
      name : list.pdf
      data : pdfBase64 

     }]
     }).then(
     )
     });
Rays