diff --git a/uc_stock/uc_stock.module b/uc_stock/uc_stock.module
index 3a9923d..b37e437 100644
--- a/uc_stock/uc_stock.module
+++ b/uc_stock/uc_stock.module
@@ -242,8 +242,8 @@ function uc_stock_is_active($sku) {
  *   The result of drupal_mail().
  */
 function _uc_stock_send_mail($order, $stock) {
-  $token_filters = array('uc_order' => $order, 'uc_stock' => $stock);
-  $account = user_load($order);
+  $account = user_load($order->uid);
+  $token_filters = array('uc_order' => $order, 'user' => $account, 'uc_stock' => $stock);
 
   $to = variable_get('uc_stock_threshold_notification_recipients', variable_get('uc_store_email', ini_get('sendmail_from')));
   $to = explode(',', $to);
