Add mail on commit hook

If either MAIL_RECIPIENT or MAIL_SENDER is defined, the commit patch is
sent to that address.