Officier

from office365api import Mail
auth = ('[email protected]', 'YourPassword')
mail = Mail(auth=auth)
messages = mail.inbox.get_messages()
Thankful Tuatara