Simple test app to check caching of tokens using graph-rs-sdk with the device code flow
Disclaimer
This assumes that all the setup has been completed as per the documentation provided by the sdk and docs from Microsoft (adding the app to Azure with the correct permissions and required scopes)
git clone https://github.com/buhaytza2005/graph-mail
cd graph-mail
cp .env_sample .env
Replace the placeholders with the correct CLIENT_ID and TENANT_ID values
Edit the src/main.rs file to change the target email - this is the email that will receive the test message
vim src/main.rs
cargo run

