Fixed undefined-error in caching.
InboxController looks for cached messages on load if they are valid.