modified downcase_email to normalize_email and strip whitespace

optimize normalize_email method, and write test