Amend the way you downcase an email (in the model) and write a test to check the downcasing works.