clayoven: cut one `git log` call and fix sorting bug
{clayovend -> imapd}: write a simple imap email fetcher

It successfully connects to my GMail and fetches emails.