Refactor email downcasing