server: intermediate: Email functionality added.

1. Classes added for sending email in a text form
2. Properties for email defined