title: Move Mail item in Outlook with Python
body: <p>I try to move a message from one Folder in Outlook to another, but it doesn't work and i don't know why.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>import win32com.client
  
  outlook = win32com.client.Dispatch("Outlook.Application").GetNamespace("MAPI")
  inbox = outlook.GetDefaultFolder(6).Folders("1VehicleMonitor").Folders("ToDo")
  donebox = outlook.GetDefaultFolder(6).Folders("1VehicleMonitor").Folders("Done")
  
  messages = inbox.Items
  
  message = messages.GetLast()
  body_json = message.body
  
  if message.UnRead == True:
      #do something magical
      message.UnRead = False
      message.Move(donebox)
  </code></pre>
  
  <p>Thanks in advance.</p>