title: Attaching PDF file to email sent with AWS SES
body: <p>I want to send an email using AWS SDK from nodejs server and attach a pdf file.
  Thought about uploading the file to S3 and sending a link via the email, but then I can't make the bucket public so this option is out. Now I have all the data on the EC2 instance, how do I attach a downloadable PDF to the raw (templated, but not have to be) email I want to send using SES?</p>
  
  <p>Searched for everything in AWS documentation and found nothing. I don't think it is that rare so any insight would be helpful.</p>
  
  <p>P.S. I don't want to use third party module, because I don't want to provide my credentials to unknown module.</p>