How to send Emails in Projects only when Tasks are completed

I have configured a Project Template that has 5 tasks. I want emails to go out only when a task is completed. Is this possible. Right now it seems that emails are going out just as soon as the project and each task is assigned.