I have been trying to include contents of an e-mail in a latex document, similar to how there are packages to include source code, for example (using the listings package, for example). These are plain text emails, so there are no formatting problems (attachments need not be included, either). If the sender and the date/time of the email (which could be passed on as parameters) would be shown above the contents as well, that would be ideal, but anything that allows a schematic rendering of an e-mail would be perfect.
Does anyone have an idea?
I have been trying to work on this using minipages, listings, and the like, but before I delve deeper into building my own package I was wondering whether anyone had an idea.
EDIT: Thanks for the comment! The verbatim package (and listing as I've tried working with it so far) obviously used monospaced font, and the linebreaks (when [breaklines] is used) gave me an indent in the following line. This is obviously great for source code.
What I am hoping for is some type of representation that makes it immediately clear that what follows is an e-mail. So the email's contents should be italic (in order to differentiate it from the main body of text), for example, probably surrounded by a box, and the sender and recipient e-mail addresses, as well as the time and date should be visible, preferably at the top. Does that make sense?
(I understand LaTeX really wasn't made to implement huge design-endeavours, but I was simply wondering whether there's an easy way to do this, or something like this. Otherwise, I can always return to the drawing board and come up with my own package.)