With trying to get to grips with the Google APIs Client Library for Objective-C for REST I came across the need to search message parts to find the plain text and HTML content of each email. Although I haven’t settled on the final way to accomplish this, one way I am testing is using .filter on an array of GTLRGmail_MessagePart’s.
![](https://www.devfright.com/wp-content/uploads/2019/02/filter-600x95.png)