Read files from emails and set up stub for application daemon