I'm trying to access the
orderHistory model via
onBeforeSendEmail event. I can see that in
Commerce_EmailsService.php file on line 311 the event is created with those params and passed to
onBeforeSendEmail, but when I try to access them from my plugin, they are not there. I thought they would be available in the
variables param, but they are not (or I'm doing something wrong here).
Does anyone know if/how I can access those models from