added support for mail sending via msmtp