Hi Tung,
I make a testcase based your mail activity configuration. And there is no exception occured as your mention. Here is the testcase:
http://anonsvn.jboss.org/repos/jbpm/jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/activity/mail/MailTest.java