fix a typo on mailer, add order number to error messages, compare customer to Order's customer types