Saving before rollback to regular imap connection