added mailing functionality to git