IDM-1228: Add unit test for checkValidMailAddress.
Merge pull request #104 from janj-su/IDM-1228

IDM-1228: Add unit test for checkValidMailAddress.
IDM-1228: Allow - in email domain part.
Merge pull request #105 from janj-su/IDM-1228

IDM-1228: Allow - in email domain part.