Hi Ram, that doesn't seem to solve my problem, since I don't want to search by keyword. I tried your suggestion with an empty keyword and it returns no results.
What I'm trying to do is pull the complete envelope data (timestamp, and all to/from/cc/bcc addresses) for all of a user's emails in the past three months. I've run into a number of problems in trying to do that, including:
- On the webservice API, GetMessageRawHeader is very slow, as described in my message above.
- Other endpoints on the webservice API like ListMessages return MessageInfo objects that don't include the full envelope data. They only contain to and from, and from often contains a name rather than an address.
- Using the YQL API, I tried pulling the data through ymail.msgcontent, and while that includes the data I need it quickly hits what looks like rate limiting but isn't labeled as such. The documents simply come back with no results. When this happens, I've noticed that the webservice API starts returning HTML indicating a temporary problem on your end.