offline imap inial setup; this is for running in a window, rahte rthan via cron