check username on imap authentication
fix mail UID indexing for non-sequential uids
Merge remote-tracking branch 'kali/bug/imap-improvements' into develop