add index.php into email templates