remove dependency on smtp, closing #12