Run offlineimap in background and wait for it...

http://fc00.deviantart.net/fs70/i/2012/220/e/b/barney_stinson_legendary_facebook_cover_by_blurokr-d5a93x4.jpg