Adding mail sending on win and loose