pulled emailids code into listids method

This was done for "lazy loading" emails: get the list of
available ids, (optionally) retreive & parse them based
on some app-level criteria (vs. always retreiving and
parsing).
Merge pull request #5 from BigBlueHat/listids

added a `listids` method for "lazy loading" messages