add getUnreadMessage, small refactoring
Fix mime empty string bug
Fix my fucking bug
Merge pull request #2 from dutchakdev/master

add getUnreadMessage, small refactoring