fixes for syntax error in mailer - issue #3

I believe this fixes issue #3. I was able to run a rake jobs:work, add a new user and the emails processed without an error...