title: updating inbox new message count
body: <p>For one of my projects I needed to create a sort of internal email system. In my navigation menu at the top of the page I have a link to the inbox and that link also has the number of unread message.</p>
  
  <p>Currently if you receive a new message the unread message count in the navigation isn't updated until the page is refreshed. This needs to change to so that it updates every few seconds on its own.</p>
  
  <p>I don't want to use something premade, I want to create the solution myself but I just need a push in the right direction.</p>
  
  <p>Should I use some sort of combination of ajax and webservices? Something else? thanks!</p>