bugfix: swap from and to in imap mail server