Inbox, outbox, archive indicator tpl and other fixes.