ACT-1699 Mail configuration from JNDI

http://jira.codehaus.org/browse/ACT-1699