xp_readmail is for SQL Mail, which is deprecated.
In my opinion this kind of work should be done way far away from the database engine. There are many applications out there that will monitor an inbox (IMAP, Exchange, POP3, etc.) and allow you to react to new messages as they arrive, or shortly thereafter.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato