Implemented mail counter, skeletal admin stuff