If I is the incenter, and AI = IE, then I must lie on the perpendicular bisector of AE and it must pass through circumcenter of ABC.

Secondly I must be equidistant from all the three sides of the triangle ABC.

These two conditions are satisfied only when ABC isequilateraltriangle. In that case B = C = 60 degrees and cosB + cosC = 1.