fix #17 : fix mail event sent twice, add mail listener on imap connection when the mail box is opened.
upgrade version