[mail] fixed Eugeny/ajenti#297