Adds public constructor to InboxMessage.