tuta_poll 0.1.0

tuta library to fetch new mails, decrypt them, and mark them as read
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::Deserialize;

#[derive(Deserialize, Debug, Clone)]
pub struct Account {
    pub email_address: String,
    pub password: String,
    #[serde(default)]
    pub watch_spam: bool,
    #[serde(default)]
    pub show_name: bool,
    #[serde(default)]
    pub show_subject: bool,
    #[serde(default)]
    pub show_body: bool,
}