Add mailing function in backend

1. add mail: section in config
2. some repo can disable mailing result by setting ":nomail: 1"