Adding mailplugin
Also added a serviceclass to send mail