Model sale order get emails fixes

https://github.com/opencart/opencart/commit/3885a1d1ee2787d00fd7d1b1d87147df53b00994