I have a dev task that when run eventually creates an email from a template file I have in my project templates folder under a directory called 'Emails'. When run via command line I get a template doesn't exist in theme (I want to have in project folder) and when run in browser it runs fine.
On my local it runs fine in both command line and browser. It would seem the template isn't being picked up correctly in the template manifest when I flush=all and I don't understand why it would be available for a browser request and not from command line. Is this likely a permission issue?