Simple implementation of session cache and transport pool for JavaMail API