make email processor inherit from activerecord base to get logger to be defind