title: Python Code to Convert Email Originated Image Files into PDF
body: <p>trying to solve a business problem I'm having.</p>
  <p>I need to be able to direct invoices received via email to a program that can only read files in PDF format. These invoices are images usually in PNG or JPEG formats.</p>
  <p>I'd like to figure out a Python code that allows me to send these non-PDF forms, like PNG/JPEG, to a specific address either online or locally that can automatically convert these files into PDF so I can send them to the program. The program only accepts email uploads with PDF attachments. I have many invoices coming through so I need something that can handle multiple files being converted.</p>
  <p>I don't know where to start so any suggestions are appreciated! Thanks</p>