added support for sending mail. For now only a testmail ...