adding new features to email, now can display email item, also some cleanup