to add some more details, what I'm trying to do is have the MDB check a different email account in my dev environment vs the production environment. If anyone has a better way of achieving this I would be grateful.
No. But file a feature request in the JBoss AS JIRA - it's certainly doable. If you can write a patch, then I can probably get it in sooner (but probably not until post JBoss AS 5 anyway).