Fixed an issue with case sensitivity on emails.