Web workers: fair caching
Handle duplicate mail gracefully (send+receive)
Count threads, not emails. Fixes #57. Load entire thread

Also removed some dead code from repo.go