editing and viewing emails