fixes paging bug when emailing more than <page size> users
adds rough email detail page
adds a util class; basic history item display