fixed BaseController not defined in email settings action