adds email-edit functionality
adds email-edit tests