Implement own diff method.

For some reason the libgit2 method is not working for my repo...
Update mailbox using the diff.

Don't reload the whole database after each message anymore.