This Python script provides functionality to authenticate with Microsoft Outlook using username and password, retrieve access tokens, and create mail forwarding rules via the Microsoft Graph API.
- Authenticate with Microsoft using username and password.
- Retrieve refresh and access tokens.
- Create mail forwarding rules based on specific conditions.
- Python 3.7 or higher.
- The
requestslibrary. Install it using:pip install requests