add tests
documentation and imap 7bit decoding