$ui = posix_getpwuid(posix_geteuid());
$cachePath = session_save_path() . '/email-cache-' . $ui['name'] . '/mail/' . $this->tableName() . '-' . $this->id . '.txt';
-
+ print_r($cachePath);exit;
if(!$this->isGenerated($cachePath)){
$this->cachedMailWithOutImages(true, false);
}