idn have to be converted before being used
use \OC_Mail::validateAddress() to validate the email address - fixes #7862
Merge pull request #7861 from owncloud/idn-domains-support-on-emails-master

idn have to be converted before being used