updated gui with email working