IMAP email is always delayed
I think I've finally solved this one by using some of the folder settings in K9.  In Settings --> Account Settings --> Fetching Mail, I set Poll Folders and Push Folders to "Only First Class Folders", and this seems to have done the job.  To be honest, I'm not sure what these settings mean exactly, but I'll live with that.