updated email processor