fix(lib): calculate commits based on email

Fixes #2
Merge pull request #5 from davidlinse/fix-issue-2

fix(lib): calculate commits based on email instead of name