The path to report_email.txt is applications/saplogger/views/report_email.txt and the script I'm running is in applications/saplogger. Why I'm getting the 404 in the shell is baffling.
Regarding context & environment, this report will be called from cron, and the email module will be imported into another controller to run. Will I be able to use templates for email text in this scenario? --