git.hook.post-receive: should send emails before locking

Sending email should not be locked by building process. Every commit
should cause an email to be sent to the :phantom list.