changes email processor logic