fixes sending email in paypal controller