It depends on the method used. The article has solutions that prints only emails as well as a method that can print both emails and embed attachments in PDF files.