Section 87. (a) Every inmate of a correctional institution or any other penal institution in the commonwealth shall be allowed to send mail to the President or Vice President of the United States, a member of the Congress of the United States, the Attorney General of the United States, the director or any agent of the Federal Bureau of Investigation, any judge, attorney, clerk, probation officer, or parole officer the United States or of the commonwealth, the governor of the commonwealth, a member of the general court of the commonwealth, the attorney general of the commonwealth, the commissioner of public safety, the commissioner or any deputy commissioner of correction, and the superintendent of the institution in which the inmate is confined. A locked letter box shall be placed in each institution, into which the inmates may deposit sealed mail to the above-listed officials at their official addresses. The commissioner may provide that such mail be marked to indicate to the addressee that it has not been inspected or opened, and may also require as a condition of delivery that the mail bear the inmate's name and return address. The mail shall be delivered or conveyed to the federal postal authorities for delivery.
(b) Every inmate of a correctional institution or any other penal institution in the commonwealth shall be allowed, consistent with such regulations as are necessary to protect legitimate governmental interests, to send mail to persons not listed in subsection (a).
(c) The commissioner shall promulgate rules and regulations to effectuate the purpose of this section.