The script I have designated FreePBX to call, when called directly from the CLI sends the email flawlessly. The emails are not triggered after a call takes place, however.
Background context: https://community.freepbx.org/t/solved-how-to-email-call-recordings-post-call-recording-script/26747/24
FreePBX 14.0.1.24
Asterisk 13.18.3