original_docstring: 
          Move (copy + delete) emails (by UID) from this folder to another.
  
          Note this method does not update the internal UID list, this is to be
          handled by the `sync_emails` method.
          
docstring: Move (copy + delete) emails (by UID) from this folder to another.
  Note this method does not update the internal UID list, this is to be
  handled by the `sync_emails` method.
docstring_tokens: Move ( copy + delete ) emails ( by UID ) from this folder to another . Note this method does not update the internal UID list this is to be handled by the ` sync_emails ` method .
code: def move_emails(self, email_uids, new_folder):
          '''
          Move (copy + delete) emails (by UID) from this folder to another.
  
          Note this method does not update the internal UID list, this is to be
          handled by the `sync_emails` method.
          '''
  
          new_folder = self.account.ensure_folder_exists(new_folder)
  
          self.log(
              'debug',
              f'Moving {len(email_uids)} ({email_uids}) emails to -> {new_folder}',
          )
  
          with self.get_connection() as connection:
              connection.copy(email_uids, new_folder)
              connection.delete_messages(email_uids)
              connection.expunge(email_uids)
code_tokens: def move_emails ( self , email_uids , new_folder ) : new_folder = self . account . ensure_folder_exists ( new_folder ) self . log ( 'debug' , f'Moving {len(email_uids)} ({email_uids}) emails to -> {new_folder}' , ) with self . get_connection ( ) as connection : connection . copy ( email_uids , new_folder ) connection . delete_messages ( email_uids ) connection . expunge ( email_uids )
short_docstring: Move (copy + delete) emails (by UID) from this folder to another.
short_docstring_tokens: Move ( copy + delete ) emails ( by UID ) from this folder to another .
comment: '''
          Move (copy + delete) emails (by UID) from this folder to another.
  
          Note this method does not update the internal UID list, this is to be
          handled by the `sync_emails` method.
          '''