Enviar rexistro por email: A three-dimensional spin-diffusion model for micromagnetics