Gravar-mail: Tunable electromagnetic environment for superconducting quantum bits