Fix double-dot email addresses and test for downcased email addresses before saving