mixpanel integration and email UI tweak