Fixed wrong return value expected in queue_email task.