Fix bug in delayed job mailer stuff