Fixes bug 848458 - Fixed issues with invalid email addresses and unicode characters.
Merge pull request #1115 from AdrianGaudebert/848458-fix-automatic-emails

Fixes bug 848458 - Fixed issues with invalid email addresses and unicode...