add email functionality from users page