limit the count of sending email when scrapy meets an error