Add the email commit notification

This is a update of #4365 .

Two improve:

- independent template ( decrease the email size and didn't need extra network accessing )
- notification could be ignored