It looks like you're new here. If you want to get involved, click one of these buttons!
What file do I need to edit to have my own custom logic for shortcodes?
I am seeing the file send-now.php is probably my best bet to add the hook.
/includes/create/send-now.php if you're not sending with a cron job. scheduled.php if you're sending with a cron job.