Add a test for windows line endings in emails

Fix #17