refactor to be able to send the email at the end of the donation