Fix for mail event emiting

If mailParserOptions.streamAttachments is false, parser will not emit the mail event.