Gravar-mail: Variational problems with non-constant gradient constraints