parameters: (account, folder)
return_statement: return jsonify(copied=True)
docstring: Copy emails from one folder to another within a given account.
docstring_summary: Copy emails from one folder to another within a given account.
docstring_tokens: Copy emails from one folder to another within a given account .
function: def api_copy_account_emails(account, folder) -> Response:
      '''
      Copy emails from one folder to another within a given account.
      '''
  
      request_data = request.get_json()
      message_uids = get_or_400(request_data, 'message_uids')
      new_folder = get_or_400(request_data, 'new_folder')
  
      copy_folder_emails(account, folder, message_uids, new_folder)
  
      return jsonify(copied=True)
function_tokens: def api_copy_account_emails ( account , folder ) -> Response : request_data = request . get_json ( ) message_uids = get_or_400 ( request_data , 'message_uids' ) new_folder = get_or_400 ( request_data , 'new_folder' ) copy_folder_emails ( account , folder , message_uids , new_folder ) return jsonify ( copied = True )