aboutsummaryrefslogblamecommitdiff
path: root/src/mail/mod.rs
blob: f696f6d4059a42ab7411c6cc95c694715487645b (plain) (tree)
1
2
3
4
5
6
7
8
9
                   

                

             

                          

                          
                        
 
                        
                           
                              

                               
 


                                    
pub mod mail_ident;
pub mod user;
pub mod mailbox;
mod uidindex;

use std::convert::TryFrom;

use anyhow::Result;
use k2v_client::K2vClient;
use rusoto_s3::S3Client;

use crate::bayou::Bayou;
use crate::cryptoblob::Key;
use crate::login::Credentials;
use crate::mail::mail_ident::*;
use crate::mail::uidindex::*;

// Internet Message Format
// aka RFC 822 - RFC 2822 - RFC 5322
pub struct IMF(Vec<u8>);