made email case independent