Fixed issues with resque email sending