make sure that mail with attachments are parsed properly