Added definition for message_get_inbox
Implemented message_get_inbox