Set imapSyncFolder in application not API. Add check if folder had been set.
Extract merger into own property.