[mail] fixed Eugeny/ajenti#481