Rust wrapper of 1secmail temporary mail service
use temporary_mail::TempMail;
let temp_mail = TempMail::new();
From TempMail
you can retrieve:
println!("{}", temp_mail.get_address());
let emails: Option<Vec<Email>> = temp_mail.get_inbox()
// print received emails
if let Some(emails) = emails {
emails.iter().for_each(|mail| println!("{:?}", mail));
}