add class for sending email 
configuration for glassfish wil  be provided later
Merge origin/master