Hi,
By default you have that:
$cartProduct['PRODUCT_NAME'] = $t;
So you can try to change it to:
$productClass->addAlias($product);
$link = hikashop_contentLink('product&task=show&cid=' . (int)$product->product_id . '&name=' . $product->alias, $product, false, false, false, true);
$cartProduct['PRODUCT_NAME'] = '<a href="'.$link.'">'.$t. '</a>';
Note that you're not in the same context than when HikaShop generates the link on the listing.
First, the URL needs to be absolute in an email while it needs to be relative on a listing.
Also, you don't have the itemid available here while it is available on the listings.
So I don't guarantee you'll have the exact same link.