Custom sendMail function and []byte attachment

* Allows mailer to receive a custom sendmail function
* Can attach using only []byte

I needed to have a custom sendMail function because I use an email server that has a custom certificate, so I needed to mess with the tls.Config struct directly.

Also I had to change the imports to my repo, probably you'll need to change it if you merge.