add puts statements to email processor