>while it's asleep it'll stop receiving messages via XMPP
Isn't there any API (? or something) for apps to run in "minimal" mode, to wake up the phone when needed? Does this also mean that it's not possible to have the phone notify you when you receive an email in sleep mode?