2012-05-10 14:57 - edited 2012-05-10 14:58
Nokia Messaging supports IMAP idle on all versions, excluding 2.0 and 3.0. So your Nokia N97 should be able to handle it, especially when accessing through Nokia Messaging.
Set it up and let us know if you run into any problems.
Hope this helps,