async fn download_msgs(context: &Context, imap: &mut Imap) -> Result<()>