bug with cash and sending email