DRY the email processor