Take an object as the constructor argument, rather than individual params.

Similar to sys.db.Connection, this makes it easier for you to use a JSON
configuration file to define your SMTP server and authentication.
1.0.0-rc.1

Add conditional compilation for optional haxelib dependencies
And update haxelib.json