Added the mail class and tested mail sending functionality

Signed-off-by: Roshan <roshanbhgt@gmail.com>