(a) A qualified voter is eligible for early voting by mail if, at the time the voter's early voting ballot application is submitted, the voter is confined in jail:
(1) serving a misdemeanor sentence for a term that ends on or after election day;
(2) pending trial after denial of bail;
(3) without bail pending an appeal of a felony conviction; or
(4) pending trial or appeal on a bailable offense for which release on bail before election day is unlikely.
(b) A voter confined in jail who is eligible for early voting is not entitled to vote by personal appearance unless the authority in charge of the jail, in the authority's discretion, permits the voter to do so.