Smart fields are not working for user when emailing an invoice.
Smart fields are placeholder fields (variables) that allow CORE to auto-fill them with IDs or values when emailing invoices, statements, reports, purchase orders or receipts. You can set them up in Email Settings under Settings (global level) or the User Settings screen (user level).
The reason why the smart fields feature doesn't work for some invoices is that they are probably joint invoices (combined invoices) with multiple projects on them. So when you use smart fields and want CORE to add Project Name or Project ID into the email text, it does not know which ID or name to retrieve as there is more than one project represented on the invoice. If you use the same fields on a regular invoice that covers one project only, it works fine.