Gravar-mail: Tuning magnetic properties for domain wall pinning via localized metal diffusion