Gravar-mail: Tuning electronic properties of transition-metal dichalcogenides via defect charge