Test data type passed to email validation function
Merge pull request #182 from callahad/master

Check datatypes when validating email addresses