Refactor Inbox to use handlebar templates.