Fix error in email validator

caused by newer versions of the mail gem.