In version 16, since everything is API-driven, I believe that this is now possible (although I haven't tried it myself). The documentation for how to do so is under construction though.
I've looked at the web services available in version 15 and nothing appeared to be available to access mailboxes in those prior versions.