refactor mail login error message (dedicated to Ryad)