Attach dynamic content

Files that are generated at runtime, such as PDF documents or images
created via GD can be attached directly to a message without writing
them out to disk.
Merge pull request #13 from laznik/master

Attach dynamic content