issue #17: added mail script to send mail. not tested it yet