This lets them know you are a constituent and not forwarding chain mail from a national group. It also makes it easy for them to tally “yes” or “no” votes on that particular bill from their inbox. The same applies if you call your legislator, instead. Also, there is nothing wrong with emailing all of the legislators; just know that it will make a bigger impact on those who represent your district.