use smtp for sending mails, closes #85