[bugfix] prevent crash with bugged attachments
if a message doesnt have attachment (DS failure ?) but some cid: img, the app crash