Bug fix. Sending email after order