Automatic mail via Crm when Project task closed

Automatic mail via Crm when Project task closed

Hello,

I'd like to know if it's possible to create an automation like this:

when a "A" task is closed in Project, send the "A" model template via Crm
when a "B" task is closed in Project, send the "B" model template via Crm.

Any suggestions?
Thank you.