Use this (unofficial) client to send emails using the GOV.UK Notify API in Rust.
SMS and Letter sending functionality is not yet implemented.
```rust use govuknotify::NotifyClient; use serdejson::{Map, Value};
let notifyclient = NotifyClient::new(apikey); let mut personalisation = Map::new(); let mut personalisationvalues = Map::new(); personalisationvalues.insert("myvar".tostring(), Value::String("my value".tostring())); personalisation.insert("personalisation".tostring(), Value::Object(personalisation_values));
notifyclient.sendemail(email, template_id, Some(personalisation)).await ```