Fix sending commit note email to id instead email

Please consider cherry picking @randx's commit.