Fix duplicate email check case-insensitive

Avoids inserting duplicate e-mail with Integrity constraint violation: 1062 Duplicate entry