fixing case sensitivity in emails