sparkpost 0.0.1

Rust bindings for sparkpost email api v1
# spark_post
## WIP initial release
version 0.0.1 only supports transmission api for sending emails.
as sparkpost has a huge api.

Please open an issue on [gitlab](https://gitlab.com/mygnu/spark_post/issues) if you need support or additional features

### Usage
```toml
[dependencies]
sparkpost = "0.0.1"

```


### Example
```rust
extern crate sparkpost;

use sparkpost::{Transmission, Message};

let tm = Transmission::new("api_key".into(), "https://api.eu.sparkpost.com/api/v1".into());
let email: Message = Message::new("sender@yourdomain.com", "Name")
         .add_recipient("name@domain.com", Some("Name"))
         .set_subject("My Awesome email 😎")
         .set_html("<h1>html body of the email</h1>")
         .set_text("text body of the email");
let result = tm.send(&email);

match result {
    OK(response)=>{
        println!("{:#?}", response);
    },
    Err(e) => println("{:#?}", e);
}

```
### TODO
- [X] send email
- [ ] other api features