Gravar-mail: Tuneable quantum spin Hall states in confined 1T' transition metal dichalcogenides