Ensure Content-ID is set for attachments

Allows `<img src="cid:foobar"/>` in HTML messages to work.
Merge pull request #8 from DavidOliver/master

Ensure Content-ID is set for attachments