Re-positioned email checking to be strip()'ed and lower()'ed before validating (non-empty and pattern matching).