adding in offline imap configs
tidying up