started function off by seeing if the email passed to it is a string; if it isn't return false, otherwise split the email at the '@' and '.'.