Email notifications now working