Adding test for escaping of emails that have lines starting with a period character.
Newline translation so escaping code will work properly.
Merge branch 'hotfix/5421'

Close #5421
Merge pull request #5422 from wccoder/master

Fix emails that contain lines that start with periods
Merge branch 'hotfix/5422' into develop

Forward port #5422