#21 Correct the received date. It was not set before. Replace internalDate with receivedDate since it is more clear
Closes #21 Add escaping and test for subject