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

                          

                          
                        
 
                        
                           
                              

                               
 


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

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>);