Hi,
thanks for the answer, your code worked, I had to change the variable $post_id = $post->ID;
I modified the file customer-area-notifications/src/php/helpers/notifications-admin-interface.class.php to set the notifications checkbox to always be checked when creating a new file.
I have another question, can I add an email address when sending the email?
for example: customer email + Bcc: Admin Email
thank you