fixed minor issue with email processor