To make the best use of this, have a look at the --use-mailmap option.
In particular git-log and git-shortlog makes use of it. Also search
for mailmap in the git-log man page, for more ways to use this
remapping (format strings to --pretty).
Otherwise, to make use of the mailmap remapping by default do:
$ git config [--global] log.mailmap true
Unfortunately, this will not rewrite the commit history. So all commits
done by james@e7ae566f-a301-0410-adde-c780ea21d3b5 is James Yonans commits.
It was considered to risky to use git tools to rewrite the commit history, as
it could influence those already using this git tree.