fix startup error: undefined method `interval' for Stud:Module
remove trailing whitespace
Fetch the unseen mails only and mark the mails as seen afterwards
Merge pull request #542 from luxflux/imap-input-mark-read

Imap input mark read