adding "isValid" on Mail configuration.