On release of an inmate who discharges the inmate’s sentence or on release of an inmate on parole or to mandatory supervision, the department promptly shall notify the clerk of the court in which the inmate was convicted of that fact. The notice must be provided by e-mail or other electronic communication.