Do not transcode when there is an error in iconv(like elisq). Add a function mail_client:list_size/1 to return only the inbox messages' size.