This library has been designed to be ultra high level and simple, see the examples below.
rust
extern crate gmailnator;
use gmailnator::GmailnatorInbox;
...
let inbox = GmailnatorInbox::new().expect("Error occured when creating the inbox.");
rust
let address:&str = inbox.get_address();
```rust let messages = inbox.get_messages().expect("Failed to retrieve messages.");
for message in messages {
let title = message.get_subject();
let body = message.get_raw_content();
println!("Title : {}\nBody : {}", title, body);
} ```