That method would work fine. Just check for email when you look for email.
However, if you want something else to automatically happen such as an "auto-reply" things get much more complicated. In my case, I am attempting to 'upload' files via email, so this should happen when the email is sent (and 'received') not the next time someone logs in.
