- modified the way how to manage mailings
- added javadoc comments