added support for fetching multipart and message parts