fixed angular error on email settings