Gravar-mail: Applications of gradient index metamaterials in waveguides