I have this simple piece of code that reads the content of the last e-mail in my inbox.
How can I do the same for e-mail I click on/highlight within Outlook?
import win32com.clientoutlook = win32com.client.Dispatch("Outlook.Application").GetNamespace("MAPI")inbox = outlook.GetDefaultFolder(6) messages = inbox.Itemsmessage = messages.GetLast()print(message.body)