Added inbox features

Hi jcleblanc.

I've added features that allows the SDK to retrieve JSON from the inbox, unread mail and sent mail.
This might be a useful feature.