fixed dependency of core mailer