In the file ./program/include/rcube_json_output.php
Search for 'product_name' and edit the function:
public function set_pagetitle($title)
{
$name = $this->config->get('product_name');
$this->command('set_pagetitle', JQ(empty($name) ? $title : $name.' :: '.$title));
}