Outlook/Office 365 Python Integration

Job ID: 31102149

Budget: $250 – $750 USD

I have a growing suite of automation tools for a client who now would like for their automation to send out email alerts under specific conditions.

What I need made is a "Mail Object"

{{SETUP}}It should have a configuration method where if a stored variable is missing ( auth token ) it prompts via command line to go through necessary steps ( provide username and password for example ) then store the token. If possible this should be written as just a JSON style output, I'll be converting it to store into my environment variables once delivered.

{{SEND_EMAIL}}It should have a primary method by which I can send emails through that accepts the following arguments :
message : string (ultimately html )
recipient : string
sender : string

This {{SEND_EMAIL}} method should return error if error otherwise nothing.

It should have unit tests for both those methods and basic docstrings for clarity.