Probably makes the most sense to create a MailListener (See JMSMailListener) that sends the mail to a particular queue whenever address is in TO for the mail. JavaMail has nothing to do with JBMS really so not sure how that would have worked.
where can iI find information of MailListeners?
Use an existing one such as the JMS one as an example. These are added to your config under server/default/deploy/mail.ear/mail.sar/META-INF/jboss-service.xml