Sending notification / alert / email to the team when recording a payment

Sending notification / alert / email to the team when recording a payment

Hi,

When you record a payment from a customer(link to an invoice or retainer invoice), you can send a thank you email.
How can I send a notice to one of my team that the payment has been received and recorded ? I can't find a way to send a notification email or something similar. Any idea ?